Add Catppuccin theme, home-manage sops-nix integration and update

system modules
This commit is contained in:
Jo 2025-05-12 00:20:08 +02:00
parent fa3bbb2f6f
commit 4dd0860251
12 changed files with 298 additions and 19 deletions

View file

@ -13,13 +13,13 @@
in {
options.${namespace}.system.shell = {
enable = mkEnableOption "custom user shells.";
installed = mkOpt types.listOf types.package [pkgs.fish] "List of shell packages to install";
installed = mkOpt (types.listOf types.package) [pkgs.fish] "List of shell packages to install";
default = mkOpt types.str "fish" "Set a custom shell as the default for all users.";
};
config = mkIf cfg.enable {
environment.shells = cfg.installed;
users.defaultUserShell = pkgs.${cfg.shell.type};
programs.${cfg.shell.type}.enable = true;
users.defaultUserShell = pkgs.${cfg.default};
programs.${cfg.default}.enable = true;
};
}