diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/hm/sils/default.nix | 1 | ||||
-rw-r--r-- | modules/hm/sils/mail.nix | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/modules/hm/sils/default.nix b/modules/hm/sils/default.nix index a1665ee..72767ef 100644 --- a/modules/hm/sils/default.nix +++ b/modules/hm/sils/default.nix @@ -2,5 +2,6 @@ imports = [ ./firefox ./jameica.nix + ./mail.nix ]; } diff --git a/modules/hm/sils/mail.nix b/modules/hm/sils/mail.nix new file mode 100644 index 0000000..77d085c --- /dev/null +++ b/modules/hm/sils/mail.nix @@ -0,0 +1,18 @@ +{ + config, + lib, + ... +}: let + cfg = config.sils.mail; +in { + options.sils.mail.enable = lib.mkOption { + type = lib.types.bool; + default = false; + description = "Enable sophisticated mail setup"; + }; + config = lib.mkIf cfg.enable { + programs.neomutt = { + enable = true; + }; + }; +} |