mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-10 04:49:19 -08:00
Private profile setup and a deploy bugfix
This commit is contained in:
parent
0c10f2f26e
commit
dca0ac1e57
5 changed files with 11 additions and 6 deletions
|
|
@ -8,10 +8,11 @@ let
|
|||
ssh $NIX_SSHOPTS root@${cfg.ssh.host} "mkdir -p ${toString file.out.dir}
|
||||
cat > ${file.path}
|
||||
chmod ${file.mode} ${file.path}
|
||||
chown ${file.owner}:${file.group} ${file.path}" << 'EOF'
|
||||
chown ${file.owner}:${file.group} ${file.path}"'' + (if file.source != null then "< ${toString file.source}\n" else ''
|
||||
<<'EOF'
|
||||
${file.text}
|
||||
EOF
|
||||
'') (attrValues config.secrets.files);
|
||||
'')) (attrValues config.secrets.files);
|
||||
in {
|
||||
options = {
|
||||
deploy = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue