flake: fix condition in deploy command
This commit is contained in:
parent
045315c12e
commit
0e1d9a1d35
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@
|
|||
(hostname: machine: pkgs.writeShellScript "deploy/${hostname}" ''
|
||||
${lib.getExe (machineRebuild machine)} switch \
|
||||
--flake .#${hostname} \
|
||||
${lib.optionalString (system != machine.system) ''--build-host root@${machine.config.deployment.targetHost} \''}
|
||||
${lib.optionalString (system != machine.config.deployment.system) ''--build-host root@${machine.config.deployment.targetHost} \''}
|
||||
--target-host root@${machine.config.deployment.targetHost} \
|
||||
$@
|
||||
'')
|
||||
|
|
Loading…
Add table
Reference in a new issue