From 3ec6b489af1adb0cab9964e5cd7c2b1310fbe043 Mon Sep 17 00:00:00 2001 From: Madeline Hashcube Date: Mon, 27 Jul 2026 18:07:01 +0000 Subject: [PATCH] change my email (it's really cool now) --- users/hashcube/email.nix | 28 +++++++++++++++++++++++++++- users/hashcube/files.nix | 4 ++-- users/hashcube/programs/cli/git.nix | 2 +- 3 file(s) changed, 30 insertion(s)(+), 4 deletion(s)(-) diff --git a/users/hashcube/email.nix b/users/hashcube/email.nix --- a/users/hashcube/email.nix +++ b/users/hashcube/email.nix @@ -12,9 +12,35 @@ }; }; accounts.email.accounts = { - hashcube = { + # very epic and cool email >:3c + "hashcube.dev" = { enable = true; primary = true; + realName = "Madeline Hashcube"; + passwordCommand = "cat /home/hashcube/.email-password"; + address = "madeline@hashcube.dev"; + # because git + userName = "madeline@hashcube.dev"; + flavor = "plain"; + + aerc = { + enable = true; + }; + + smtp = { + host = "smtp.porkbun.com"; + port = 465; + tls.enable = true; + }; + imap = { + host = "imap.porkbun.com"; + port = 993; + tls.enable = true; + }; + }; + hashcubeProton = { + enable = true; + primary = false; realName = "Madeline Hashcube"; passwordCommand = "cat /home/hashcube/.protonmail-bridge-password"; address = "hashcube.dev@proton.me"; diff --git a/users/hashcube/files.nix b/users/hashcube/files.nix --- a/users/hashcube/files.nix +++ b/users/hashcube/files.nix @@ -3,8 +3,8 @@ home.file = { ".face" = { source = builtins.fetchurl { - url = "https://gravatar.com/avatar/38bd24651fdbddadaf44fe437184c7fe05c9de7678c0d477b50e4d1dc1342a56?size=256"; - sha256 = "sha256-UGWPxbEs010WgJiWgZHx4d4I9wfjR+qPizvK23zxCmc="; + url = "https://gravatar.com/avatar/${builtins.hashString "md5" "madeline@hashcube.dev"}?size=256"; + sha256 = "sha256:0rqay5ydpjivif7yliz30zvhipp1y68q35lqh0b5vlrcn72qyrah"; }; }; ".nushell-modules" = { diff --git a/users/hashcube/programs/cli/git.nix b/users/hashcube/programs/cli/git.nix --- a/users/hashcube/programs/cli/git.nix +++ b/users/hashcube/programs/cli/git.nix @@ -7,7 +7,7 @@ init.defaultBranch = "main"; user = { name = "Madeline Hashcube"; - email = "hashcube.dev@proton.me"; + email = "madeline@hashcube.dev"; }; safe.directory = "/etc/nixos"; }; -- tangled.sh