diff options
author | Silas Schöffel <sils@sils.li> | 2024-04-21 17:18:54 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-04-22 17:02:26 +0200 |
commit | f1fc3a0d2684d28a862f186dd509259b339c81c0 (patch) | |
tree | 68b18fca46014ec206615c79d5d3fd4ef0879f4a /modules | |
parent | flake.lock: update (diff) | |
download | nix-config-f1fc3a0d2684d28a862f186dd509259b339c81c0.tar.gz nix-config-f1fc3a0d2684d28a862f186dd509259b339c81c0.zip |
mail: init module
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; + }; + }; +} |