This commit is contained in:
mjallen18
2026-03-27 18:25:58 -05:00
parent 8217b83798
commit 5fe8c897aa
9 changed files with 90 additions and 20 deletions

View File

@@ -1,4 +1,9 @@
{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
{
accounts = {
email.accounts = {
@@ -7,8 +12,11 @@
realName = "Matt Jallen";
address = "matt.l.jallen@gmail.com";
userName = "matt.l.jallen@gmail.com";
passwordCommand = "${pkgs.uutils-coreutils-noprefix}/bin/cat ${config.sops.secrets."gmail-smtp-password".path}";
passwordCommand = "${pkgs.uutils-coreutils-noprefix}/bin/cat ${
config.sops.secrets."gmail-smtp-password".path
}";
flavor = "gmail.com";
thunderbird.enable = true;
smtp = {
tls = {
enable = false;
@@ -22,7 +30,9 @@
realName = "Matt Jallen";
address = "jalle008@protonmail.com";
userName = "jalle008@protonmail.com";
passwordCommand = "${pkgs.uutils-coreutils-noprefix}/bin/cat ${config.sops.secrets."protonmail-password".path}";
passwordCommand = "${pkgs.uutils-coreutils-noprefix}/bin/cat ${
config.sops.secrets."protonmail-password".path
}";
smtp = {
tls = {
enable = false;
@@ -34,4 +44,4 @@
};
};
};
}
}

View File

@@ -40,6 +40,10 @@ in
nix-prefetch-scripts
nixfmt
pciutils
proton-pass
proton-pass-cli
proton-vpn-cli
protonvpn-gui
protonup-ng
rsync
smartmontools
@@ -69,6 +73,10 @@ in
)
);
file = {
".face".source = "${pkgs.${namespace}.profile-pic}/profile-pic";
};
stateVersion = lib.mkDefault "23.11";
};

View File

@@ -1,4 +1,9 @@
{ config, lib, pkgs, namespace, ... }:
{
config,
lib,
namespace,
...
}:
let
cfg = config.${namespace}.programs.thunderbird;
in
@@ -21,4 +26,4 @@ in
};
};
};
}
}

View File

@@ -1,4 +1,10 @@
{ config, lib, pkgs, namespace, ... }:
{
config,
lib,
pkgs,
namespace,
...
}:
let
cfg = config.${namespace}.services.protonmail;
in
@@ -15,4 +21,4 @@ in
home.packages = with pkgs; [ protonmail-bridge-gui ];
};
}
}