2024-05-18 20:00:18 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
cfg = config.shell;
|
|
|
|
in {
|
|
|
|
imports = [./zsh.nix ./bat.nix ./btop.nix ./neovim.nix];
|
|
|
|
|
|
|
|
options = {
|
|
|
|
shell.enable = lib.mkEnableOption "my shell environment";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
shell.zsh.enable = lib.mkDefault true;
|
|
|
|
shell.neovim.enable = lib.mkDefault true;
|
|
|
|
shell.btop.enable = lib.mkDefault true;
|
|
|
|
shell.bat.enable = lib.mkDefault true;
|
|
|
|
};
|
2024-05-18 13:45:54 +02:00
|
|
|
}
|