mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-08-18 10:39:46 +02:00
meta: Begin making shell module customizable
This commit is contained in:
@@ -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
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user