home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 5290a0e15dacff213a132a9fa50abcee918102e3
parent 16ddfd3bb346d90ce68944a59c1fa107d3e2ad92
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Tue, 26 Oct 2021 19:03:48 +0200

systems: remove secretCondition on mails

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Msystems/modules/profiles/mail.nix | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/systems/modules/profiles/mail.nix b/systems/modules/profiles/mail.nix @@ -3,8 +3,6 @@ with lib; let cfg = config.profiles.mail; - secretPath = ../../../secrets/machines.nix; - secretCondition = (builtins.pathExists secretPath); in { options = { @@ -16,7 +14,7 @@ in }; }; }; - config = mkIf (cfg.enable && secretCondition) { + config = mkIf (cfg.enable) { sops.secrets.msmtprc = { path = "/etc/msmtprc"; };