meta: Begin making shell module customizable

This commit is contained in:
Donovan Glover 2024-04-04 12:25:15 -04:00
parent a03963d1f7
commit dd38bf1c4c
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,9 +1,16 @@
{ pkgs, ... }: { pkgs, config, lib, ... }:
let let
inherit (pkgs) fish htop-vim; inherit (pkgs) fish htop-vim;
inherit (lib) mkEnableOption mkIf;
cfg = config.modules.shell;
in in
{ {
options.modules.shell = {
};
config = with cfg; {
users.defaultUserShell = fish; users.defaultUserShell = fish;
environment.shells = [ fish ]; environment.shells = [ fish ];
@ -275,4 +282,5 @@ in
}; };
}; };
}; };
};
} }