fmt: reformatted using nixpkgs-fmt prettifier mpd: created configuration hypr: add window rules commons: add usingMusicPlayerDaemon variable
26 lines
500 B
Nix
26 lines
500 B
Nix
{ 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;
|
|
};
|
|
};
|
|
};
|
|
}
|