feat(home-manager): service defs and fmt
fmt: reformatted using nixpkgs-fmt prettifier mpd: created configuration hypr: add window rules commons: add usingMusicPlayerDaemon variable
This commit is contained in:
parent
2d4b39c72f
commit
7d88765f5d
67 changed files with 633 additions and 573 deletions
|
@ -1,26 +1,26 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
{ pkgs
|
||||
, config
|
||||
, lib
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
cfg = config.myShells.nushell;
|
||||
in
|
||||
with lib; {
|
||||
options = {
|
||||
myShells.nushell = {enable = mkEnableOption "Enables nushell config";};
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs = {
|
||||
nushell = {
|
||||
enable = true;
|
||||
configFile.source = ./init/config.nu;
|
||||
shellAliases = import ../aliases/default.nix {inherit pkgs;};
|
||||
};
|
||||
carapace = {
|
||||
enable = true;
|
||||
enableNushellIntegration = true;
|
||||
};
|
||||
with lib; {
|
||||
options = {
|
||||
myShells.nushell = { enable = mkEnableOption "Enables nushell config"; };
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs = {
|
||||
nushell = {
|
||||
enable = true;
|
||||
configFile.source = ./init/config.nu;
|
||||
shellAliases = import ../aliases/default.nix { inherit pkgs; };
|
||||
};
|
||||
carapace = {
|
||||
enable = true;
|
||||
enableNushellIntegration = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue