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:
parent
d93c3bf08e
commit
800f2cd885
1 changed files with 1 additions and 2 deletions
|
@ -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)}
|
||||
'');
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue