mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-02-12 14:13:05 +01:00
✨ (modules/nixos) change standard shell to nushell
This commit is contained in:
parent
18337ad778
commit
a9726ee734
1 changed files with 4 additions and 3 deletions
|
@ -4,8 +4,9 @@
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: with lib; with lib.${namespace};
|
}:
|
||||||
let
|
let
|
||||||
|
inherit (lib) mkEnableOption mkIf;
|
||||||
cfg = config.${namespace}.common.shell;
|
cfg = config.${namespace}.common.shell;
|
||||||
in {
|
in {
|
||||||
options.${namespace}.common.shell = {
|
options.${namespace}.common.shell = {
|
||||||
|
@ -13,8 +14,8 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
environment.shells = with pkgs; [ fish ];
|
environment.shells = with pkgs; [ nushell fish ];
|
||||||
users.defaultUserShell = pkgs.fish;
|
users.defaultUserShell = pkgs.nushell;
|
||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue