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 committed 2026-03-06 19:56:49 +01:00
1 parent 5ce68a33b6
commit 75f60590ad
13 files changed
+245 -12

No files matched your search

+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;
};
}