diff options
author | Soispha <soispha@vhack.eu> | 2023-08-01 15:31:42 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-08-01 15:42:54 +0200 |
commit | 0a608bd781dcda40144097b007fac0a0c60a8ee1 (patch) | |
tree | e69fbc1fd0e15e3b86f31f47b776df21f6f0170d /home-manager/config/mail/default.nix | |
parent | Fix(hm/conf/gammastep): Use lighter settings on laptops (diff) | |
download | nixos-config-0a608bd781dcda40144097b007fac0a0c60a8ee1.zip |
Refactor(treewide): Move module configuration in separate files
Diffstat (limited to 'home-manager/config/mail/default.nix')
-rw-r--r-- | home-manager/config/mail/default.nix | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/home-manager/config/mail/default.nix b/home-manager/config/mail/default.nix deleted file mode 100644 index f934b68c..00000000 --- a/home-manager/config/mail/default.nix +++ /dev/null @@ -1,64 +0,0 @@ -{ - config, - pkgs, - lib, - ... -}: let - non_public_accounts = import ./non_public_accounts.nix {inherit pkgs;}; - accounts = lib.recursiveUpdate {inherit soispha;} non_public_accounts; - - soispha = { - address = "soispha@vhack.eu"; - userName = "soispha@vhack.eu"; - realName = "Soispha"; - primary = true; - passwordCommand = "${pkgs.libsecret}/bin/secret-tool lookup account soispha@vhack.eu"; - aliases = [ - "admin@vhack.eu" - ]; - folders = { - }; - gpg = { - encryptByDefault = true; - key = "9606FC749FCE16360723D4ADA5E94010C3A642AD"; - signByDefault = true; - }; - signature = { - # TODO - }; - neomutt = { - enable = true; - }; - mbsync = { - enable = true; - create = "both"; - }; - himalaya = { - enable = true; - backend = "imap"; - sender = "smtp"; - settings = { - # TODO - }; - }; - smtp = { - host = "server1.vhack.eu"; - port = 465; - }; - imap = { - host = "server1.vhack.eu"; - port = 993; - }; - jmap = { - # TODO - }; - maildir = { - path = "soispha"; - }; - }; -in { - accounts.email = { - maildirBasePath = "${config.xdg.dataHome}/maildir"; - inherit accounts; - }; -} |