mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat(notmuch, mbsync): add fully qualified paths to dependent programs
This commit is contained in:
@@ -66,8 +66,8 @@ in {
|
|||||||
services.mbsync = {
|
services.mbsync = {
|
||||||
enable = true;
|
enable = true;
|
||||||
frequency = "daily";
|
frequency = "daily";
|
||||||
preExec = "mkdir -p ${config.home-manager.users.me.accounts.email.maildirBasePath}";
|
preExec = "${pkgs.coreutils}/bin/mkdir -p ${config.home-manager.users.me.accounts.email.maildirBasePath}";
|
||||||
postExec = "notmuch new";
|
postExec = "${pkgs.notmuch}/bin/notmuch new";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.notmuch = {
|
programs.notmuch = {
|
||||||
@@ -118,7 +118,7 @@ in {
|
|||||||
userName = "meinhark";
|
userName = "meinhark";
|
||||||
address = "kieran.felix.meinhardt@hu-berlin.de";
|
address = "kieran.felix.meinhardt@hu-berlin.de";
|
||||||
aliases = ["${userName}@hu-berlin.de"];
|
aliases = ["${userName}@hu-berlin.de"];
|
||||||
passwordCommand = "cat ${config.age.secrets.email-password-meinhark.path}";
|
passwordCommand = "${pkgs.coreutils}/bin/cat ${config.age.secrets.email-password-meinhark.path}";
|
||||||
});
|
});
|
||||||
hu-student-cs =
|
hu-student-cs =
|
||||||
lib.recursiveUpdate defaults
|
lib.recursiveUpdate defaults
|
||||||
@@ -129,7 +129,7 @@ in {
|
|||||||
aliases = ["${userName}@informatik.hu-berlin.de"];
|
aliases = ["${userName}@informatik.hu-berlin.de"];
|
||||||
imap.host = "mailbox.informatik.hu-berlin.de";
|
imap.host = "mailbox.informatik.hu-berlin.de";
|
||||||
smtp.host = "mailhost.informatik.hu-berlin.de";
|
smtp.host = "mailhost.informatik.hu-berlin.de";
|
||||||
passwordCommand = "cat ${config.age.secrets.email-password-meinhark.path}";
|
passwordCommand = "${pkgs.coreutils}/bin/cat ${config.age.secrets.email-password-meinhark.path}";
|
||||||
});
|
});
|
||||||
hu-employee =
|
hu-employee =
|
||||||
lib.recursiveUpdate defaults
|
lib.recursiveUpdate defaults
|
||||||
@@ -138,7 +138,7 @@ in {
|
|||||||
userName = "meinhaki";
|
userName = "meinhaki";
|
||||||
address = "kieran.meinhardt@hu-berlin.de";
|
address = "kieran.meinhardt@hu-berlin.de";
|
||||||
aliases = ["${userName}@hu-berlin.de"];
|
aliases = ["${userName}@hu-berlin.de"];
|
||||||
passwordCommand = "cat ${config.age.secrets.email-password-meinhaki.path}";
|
passwordCommand = "${pkgs.coreutils}/bin/cat ${config.age.secrets.email-password-meinhaki.path}";
|
||||||
aerc.extraAccounts.signature-file = toString (pkgs.writeText "signature" signature.text);
|
aerc.extraAccounts.signature-file = toString (pkgs.writeText "signature" signature.text);
|
||||||
signature = {
|
signature = {
|
||||||
showSignature = "append";
|
showSignature = "append";
|
||||||
@@ -160,7 +160,7 @@ in {
|
|||||||
userName = "dslalewa";
|
userName = "dslalewa";
|
||||||
address = "admin.alew.vglsprwi@hu-berlin.de";
|
address = "admin.alew.vglsprwi@hu-berlin.de";
|
||||||
aliases = ["${userName}@hu-berlin.de"];
|
aliases = ["${userName}@hu-berlin.de"];
|
||||||
passwordCommand = "cat ${config.age.secrets.email-password-dslalewa.path}";
|
passwordCommand = "${pkgs.coreutils}/bin/cat ${config.age.secrets.email-password-dslalewa.path}";
|
||||||
inherit (hu-employee) signature;
|
inherit (hu-employee) signature;
|
||||||
aerc.extraAccounts.signature-file = toString (pkgs.writeText "signature" signature.text);
|
aerc.extraAccounts.signature-file = toString (pkgs.writeText "signature" signature.text);
|
||||||
});
|
});
|
||||||
@@ -169,7 +169,7 @@ in {
|
|||||||
(lib.recursiveUpdate hu-defaults
|
(lib.recursiveUpdate hu-defaults
|
||||||
rec {
|
rec {
|
||||||
userName = "fsklassp";
|
userName = "fsklassp";
|
||||||
passwordCommand = "cat ${config.age.secrets.email-password-fsklassp.path}";
|
passwordCommand = "${pkgs.coreutils}/bin/cat ${config.age.secrets.email-password-fsklassp.path}";
|
||||||
address = "${userName}@hu-berlin.de";
|
address = "${userName}@hu-berlin.de";
|
||||||
realName = "FSI Klassische Philologie";
|
realName = "FSI Klassische Philologie";
|
||||||
aerc.extraAccounts.signature-file = toString (pkgs.writeText "signature" signature.text);
|
aerc.extraAccounts.signature-file = toString (pkgs.writeText "signature" signature.text);
|
||||||
@@ -191,7 +191,7 @@ in {
|
|||||||
rec {
|
rec {
|
||||||
address = "kieran@fysi.tech";
|
address = "kieran@fysi.tech";
|
||||||
userName = address;
|
userName = address;
|
||||||
passwordCommand = "cat ${config.age.secrets.email-password-fysi.path}";
|
passwordCommand = "${pkgs.coreutils}/bin/cat ${config.age.secrets.email-password-fysi.path}";
|
||||||
flavor = "fastmail.com";
|
flavor = "fastmail.com";
|
||||||
};
|
};
|
||||||
cock =
|
cock =
|
||||||
@@ -199,7 +199,7 @@ in {
|
|||||||
rec {
|
rec {
|
||||||
address = "2210@cock.li";
|
address = "2210@cock.li";
|
||||||
userName = address;
|
userName = address;
|
||||||
passwordCommand = "cat ${config.age.secrets.email-password-cock.path}";
|
passwordCommand = "${pkgs.coreutils}/bin/cat ${config.age.secrets.email-password-cock.path}";
|
||||||
realName = "";
|
realName = "";
|
||||||
imap.host = "mail.cock.li";
|
imap.host = "mail.cock.li";
|
||||||
smtp.host = imap.host;
|
smtp.host = imap.host;
|
||||||
@@ -213,7 +213,7 @@ in {
|
|||||||
imap.host = "posteo.de";
|
imap.host = "posteo.de";
|
||||||
smtp.host = imap.host;
|
smtp.host = imap.host;
|
||||||
primary = true;
|
primary = true;
|
||||||
passwordCommand = "cat ${config.age.secrets.email-password-posteo.path}";
|
passwordCommand = "${pkgs.coreutils}/bin/cat ${config.age.secrets.email-password-posteo.path}";
|
||||||
# himalaya = { enable = true; backend = "imap"; sender = "smtp"; };
|
# himalaya = { enable = true; backend = "imap"; sender = "smtp"; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user