nixos: use configured user in admin wrapper (#79)

This commit is contained in:
ajs124 2023-08-17 00:30:40 +02:00 committed by GitHub
parent f4cf5704d6
commit b43d12082e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ let
--service-type=exec \ --service-type=exec \
--property=EnvironmentFile=${cfg.credentialsFile} \ --property=EnvironmentFile=${cfg.credentialsFile} \
--property=DynamicUser=yes \ --property=DynamicUser=yes \
--property=User=atticd \ --property=User=${cfg.user} \
--property=Environment=ATTICADM_PWD=$(pwd) \ --property=Environment=ATTICADM_PWD=$(pwd) \
--working-directory / \ --working-directory / \
-- \ -- \