diff options
Diffstat (limited to 'home/profiles/communication')
-rw-r--r-- | home/profiles/communication/default.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/home/profiles/communication/default.nix b/home/profiles/communication/default.nix index 86028e8..643b511 100644 --- a/home/profiles/communication/default.nix +++ b/home/profiles/communication/default.nix @@ -24,9 +24,6 @@ in config = lib.mkIf cfg.enable (lib.mkMerge [ (lib.mkIf pkgs.stdenv.isLinux { # TODO: is this needed? - - sops.secrets.sef-imap-password = { }; - accounts.email = { maildirBasePath = "${config.home.homeDirectory}/mail"; @@ -76,7 +73,7 @@ in primary = true; realName = "***REMOVED***"; userName = poorObfuscation "sefidel.com" "contact"; - passwordCommand = "${pkgs.coreutils}/bin/cat ${builtins.replaceStrings ["%r"] ["$XDG_RUNTIME_DIR"] config.sops.secrets.sef-imap-password.path}"; + passwordCommand = "${pkgs.passage}/bin/passage show email/sef"; }; }; @@ -271,6 +268,7 @@ in Type = "oneshot"; ExecStart = "${mbsyncCmd} --all"; RemainAfterExit = true; + TimeoutStartSec = "5min"; }; Install.WantedBy = [ "default.target" ]; }; |