kaas
This commit is contained in:
parent
9aa634bd71
commit
3528e22c67
54 changed files with 380 additions and 1243 deletions
|
@ -7,20 +7,10 @@ let
|
|||
in
|
||||
{
|
||||
options.${namespace}.shell = {
|
||||
default = mkOption {
|
||||
type = nullOr (enum ["fish" "zsh" "bash"]);
|
||||
default = null;
|
||||
description = "Default system shell";
|
||||
};
|
||||
|
||||
corePkgs.enable = mkEnableOption "core shell packages";
|
||||
};
|
||||
|
||||
config = mkMerge [
|
||||
# (if (cfg.default != null) then {
|
||||
# shell = pkgs."${cfg.default}";
|
||||
# } else {})
|
||||
|
||||
(mkIf (cfg.corePkgs.enable) {
|
||||
${namespace}.shell.toolset = mkDefault {
|
||||
bat.enable = true;
|
||||
|
@ -52,4 +42,4 @@ in
|
|||
};
|
||||
})
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue