users/infinidoge: conditionally include SMTP password
This commit is contained in:
parent
0358ece024
commit
3de783190c
1 changed files with 11 additions and 8 deletions
|
@ -59,14 +59,17 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
KEYID = "0x30E7A4C03348641E";
|
||||
POP_SMTP_HOST = common.email.smtp.address;
|
||||
POP_SMTP_PORT = common.email.smtp.STARTTLS;
|
||||
POP_SMTP_USERNAME = common.email.withUser "infinidoge";
|
||||
POP_SMTP_PASSWORD = "$(cat ${secrets.smtp-personal})";
|
||||
UNISON = "$HOME/.local/state/unison";
|
||||
};
|
||||
home.sessionVariables =
|
||||
{
|
||||
KEYID = "0x30E7A4C03348641E";
|
||||
POP_SMTP_HOST = common.email.smtp.address;
|
||||
POP_SMTP_PORT = common.email.smtp.STARTTLS;
|
||||
POP_SMTP_USERNAME = common.email.withUser "infinidoge";
|
||||
UNISON = "$HOME/.local/state/unison";
|
||||
}
|
||||
// lib.optionalAttrs main.modules.secrets.enable {
|
||||
POP_SMTP_PASSWORD = "$(cat ${secrets.smtp-personal})";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.tmpfiles.users.infinidoge.rules = mkIf config.universe.media.enable [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue