From b43d12082e34bceb26038bdad0438fd68804cfcd Mon Sep 17 00:00:00 2001 From: ajs124 Date: Thu, 17 Aug 2023 00:30:40 +0200 Subject: [PATCH] nixos: use configured user in admin wrapper (#79) --- nixos/atticd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/atticd.nix b/nixos/atticd.nix index 1996f37..cba4494 100644 --- a/nixos/atticd.nix +++ b/nixos/atticd.nix @@ -43,7 +43,7 @@ let --service-type=exec \ --property=EnvironmentFile=${cfg.credentialsFile} \ --property=DynamicUser=yes \ - --property=User=atticd \ + --property=User=${cfg.user} \ --property=Environment=ATTICADM_PWD=$(pwd) \ --working-directory / \ -- \