aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/cfg/default.nix1
-rw-r--r--share/cfg/email.nix20
-rw-r--r--share/hm-modules/hyprdesktop.nix2
3 files changed, 23 insertions, 0 deletions
diff --git a/share/cfg/default.nix b/share/cfg/default.nix
index 902c43f..3dba82f 100644
--- a/share/cfg/default.nix
+++ b/share/cfg/default.nix
@@ -16,5 +16,6 @@
./jujutsu.nix
./emacs.nix
./foot.nix
+ ./email.nix
];
}
diff --git a/share/cfg/email.nix b/share/cfg/email.nix
new file mode 100644
index 0000000..6654c58
--- /dev/null
+++ b/share/cfg/email.nix
@@ -0,0 +1,20 @@
+{ ... }:
+{
+ accounts.email.accounts = {
+ "Personal" = rec {
+ primary = true;
+ realName = "Miran Bastaja";
+ address = "miranbastaja@sorre.xyz";
+ userName = address;
+ aerc = {
+ enable = true;
+ extraAccounts = {
+ source-cred-cmd = "pass email/${address}";
+ };
+ };
+ imap.host = "imap.migadu.com";
+ smtp.host = "smtp.migadu.com";
+ };
+ };
+ programs.aerc.extraConfig.general.unsafe-accounts-conf = true;
+}
diff --git a/share/hm-modules/hyprdesktop.nix b/share/hm-modules/hyprdesktop.nix
index 7937c88..8378a3b 100644
--- a/share/hm-modules/hyprdesktop.nix
+++ b/share/hm-modules/hyprdesktop.nix
@@ -95,6 +95,7 @@ in
# TUI/GUI programs
thunderbird # email client
+ aerc # email client
nsxiv # image viewer
signal-desktop
qbittorrent # bittorrent client
@@ -154,6 +155,7 @@ in
programs.waybar.enable = true;
programs.firefox.enable = true;
programs.tofi.enable = true;
+ programs.aerc.enable = true;
programs.gallery-dl.enable = true;