311 current 1970-01-01 01:00:00 23.11.20240514.9ddcaff 6.1.90 *

This commit is contained in:
2024-05-18 20:00:18 +02:00
parent 2283f4b660
commit bcc917a2da
6 changed files with 186 additions and 118 deletions

View File

@ -1,3 +1,20 @@
{...}: {
imports = [./zsh.nix ./bat.nix ./btop.nix];
{
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;
};
}