nix-config/modules/home-manager/cli/mail.nix
smayzy 75f60590ad
All checks were successful
nixos config pipeline / show-flake (push) Successful in 42s
nixos config pipeline / deploy (push) Successful in 1m4s
add mail
2026-03-06 19:56:49 +01:00

30 lines
556 B
Nix

{
lib,
smayzy,
...
}:
let
mkIf = lib.mkIf;
in
{
config = mkIf smayzy.mail.enable {
home.file = {
".config/neomutt" = {
source = builtins.toPath ../../../dotfiles/neomutt;
recursive = true;
force = true;
};
".config/isyncrc" = {
source = builtins.toPath ../../../dotfiles/isyncrc;
recursive = true;
force = true;
};
".config/msmtp" = {
source = builtins.toPath ../../../dotfiles/msmtp;
recursive = true;
force = true;
};
};
};
}