diff --git a/users/hashcube/default.nix b/users/hashcube/default.nix index 4cf954a..a198886 100644 --- a/users/hashcube/default.nix +++ b/users/hashcube/default.nix @@ -8,6 +8,7 @@ ./theming/. ./pkgs/. + ./email.nix ./user.nix ./catppuccin.nix ./files.nix diff --git a/users/hashcube/email.nix b/users/hashcube/email.nix new file mode 100644 index 0000000..d31393d --- /dev/null +++ b/users/hashcube/email.nix @@ -0,0 +1,39 @@ +{ ... }: + +{ + accounts.email.accounts = { + hashcube = { + enable = true; + address = "hashcube.dev@proton.me"; + flavor = "plain"; + + aerc = { + enable = true; + }; + + # it's local host because of protonmail-bridge + smtp = { + host = "127.0.0.1"; + port = 1025; + tls = { + enable = true; + useStartTls = true; + }; + }; + imap = { + host = "127.0.0.1"; + port = 1144; + tls = { + enable = true; + useStartTls = true; + }; + }; + + }; + }; + /* * + services.protonmail-bridge = { + enable = false; + }; + # */ +}