mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-02-07 11:43:06 +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,
|
||||
pkgs,
|
||||
...
|
||||
}: with lib; with lib.${namespace};
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
cfg = config.${namespace}.common.shell;
|
||||
in {
|
||||
options.${namespace}.common.shell = {
|
||||
|
@ -13,8 +14,8 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.shells = with pkgs; [ fish ];
|
||||
users.defaultUserShell = pkgs.fish;
|
||||
environment.shells = with pkgs; [ nushell fish ];
|
||||
users.defaultUserShell = pkgs.nushell;
|
||||
programs.fish.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue