From f1fc3a0d2684d28a862f186dd509259b339c81c0 Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Sun, 21 Apr 2024 17:18:54 +0200 Subject: mail: init module --- modules/hm/sils/default.nix | 1 + modules/hm/sils/mail.nix | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 modules/hm/sils/mail.nix (limited to 'modules') 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; + }; + }; +} -- cgit 1.4.1