1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2025-04-09 02:14:08 +00:00

Update modules/sops/templates/default.nix

This commit is contained in:
Jörg Thalheim 2023-03-21 18:19:08 +00:00 committed by GitHub
parent d93c3bf08e
commit 800f2cd885
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)}
'');
});