From f99001f8665d952a7cda8eed1333c81bb09ebf27 Mon Sep 17 00:00:00 2001 From: Madeline Hashcube Date: Wed, 25 Mar 2026 03:30:24 +0000 Subject: [PATCH] init email (gotta add a flake for protonmail-bridge) --- users/hashcube/default.nix | 1 + users/hashcube/email.nix | 39 +++++++++++++++++++++++++++++++++++++++ 2 file(s) changed, 40 insertion(s)(+), 0 deletion(s)(-) diff --git a/users/hashcube/default.nix b/users/hashcube/default.nix --- 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 --- /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; + }; + # */ +} -- tangled.sh