mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-18 15:46:43 +02:00
meta: Begin making shell module customizable
This commit is contained in:
parent
a03963d1f7
commit
dd38bf1c4c
@ -1,9 +1,16 @@
|
||||
{ pkgs, ... }:
|
||||
{ pkgs, config, lib, ... }:
|
||||
|
||||
let
|
||||
inherit (pkgs) fish htop-vim;
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
|
||||
cfg = config.modules.shell;
|
||||
in
|
||||
{
|
||||
options.modules.shell = {
|
||||
};
|
||||
|
||||
config = with cfg; {
|
||||
users.defaultUserShell = fish;
|
||||
environment.shells = [ fish ];
|
||||
|
||||
@ -275,4 +282,5 @@ in
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user