diff options
| author | adikro <adikro@disroot.org> | 2025-12-20 15:25:38 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2025-12-20 15:25:38 +0100 |
| commit | c1d9af57156f3c95590d9a12c394ee064df9696e (patch) | |
| tree | 7e515761590c510c30329ef8548c7d84a8e95aaa /hm/soft/email.nix | |
| parent | 791bc419b6dac7c70951981ef6b34cdf85828470 (diff) | |
added disko config for laptop, added storage and memory modules
Diffstat (limited to 'hm/soft/email.nix')
| -rw-r--r-- | hm/soft/email.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/hm/soft/email.nix b/hm/soft/email.nix new file mode 100644 index 0000000..d7ec9ea --- /dev/null +++ b/hm/soft/email.nix @@ -0,0 +1,21 @@ +{ config, lib, pkgs, ... }: +let + cfg = config.hm.soft.email; +in +{ + options.hm.soft.email = { + enable = lib.mkEnableOption "email configs"; + + thunderbird.enable = lib.mkEnableOption "thunderbird config"; + evolution.enable = lib.mkEnableOption "evolution config"; + }; + config = lib.mkIf cfg.enable (lib.mkMerge [ + (lib.mkIf cfg.thunderbird.enable { + programs.librewolf.enable = true; + }) + + (lib.mkIf cfg.evolution.enable { + home.packages = [ pkgs.evolution ]; + }) + ]); +} |
