add mail
nixos config pipeline / show-flake (push) Successful in 42s
nixos config pipeline / deploy (push) Successful in 1m4s

This commit is contained in:
smayzy
2026-03-06 19:56:49 +01:00
parent 5ce68a33b6
commit 75f60590ad
13 changed files with 245 additions and 12 deletions
+26
View File
@@ -0,0 +1,26 @@
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.mail.enable = mkOption {
type = types.bool;
default = false;
description = "enables neomut isync and msmtp";
};
config = mkIf config.smayzy.mail.enable {
environment.systemPackages = with pkgs; [
neomutt
isync
msmtp
pass
];
programs.gnupg.agent.enable = true;
};
}