From d0b2329ced6058983ef0f2ead333c30558b0d191 Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 20 Jun 2022 11:17:41 -0700 Subject: [PATCH] Maybe creds _should_ be in serviceConfig. https://systemd.io/CREDENTIALS/ --- module.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/module.nix b/module.nix index 3ecaeb0..881b3c7 100644 --- a/module.nix +++ b/module.nix @@ -82,8 +82,6 @@ in { ProtectKernelLogs = true; Restart = "always"; StandardOutput = "journal"; - }; - unitConfig = { LoadCredential = "auth.token:${cfg.mattermost-auth-token-file}"; }; }) cfg.monitors;