From 800f2cd8856c848d3fa529a8e4606b804565633d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 21 Mar 2023 18:19:08 +0000 Subject: [PATCH] Update modules/sops/templates/default.nix --- modules/sops/templates/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/sops/templates/default.nix b/modules/sops/templates/default.nix index 6e1eb6a..4a6dcf9 100644 --- a/modules/sops/templates/default.nix +++ b/modules/sops/templates/default.nix @@ -95,8 +95,7 @@ in { mkdir -p "${dirOf tpl.path}" (umask 077; ${substitute} ${tpl.file} ${subst-pairs} > ${tpl.path}) chmod "${tpl.mode}" "${tpl.path}" - chgrp "${tpl.group}" "${tpl.path}" - chown "${tpl.owner}" "${tpl.path}" + chown "${tpl.owner}:${tpl.group}" "${tpl.path}" '') (attrNames config.sops.templates)} ''); });