mirror of
https://cgit.krebsco.de/krops
synced 2024-11-23 03:29:48 +01:00
Merge pull request #24 from jpotier/fix-sudo-for-remote
Add flag to nixos-rebuild
This commit is contained in:
commit
c207e1f71b
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,8 @@ in
|
|||
] ++ lib.optionals (buildTarget' != target') [
|
||||
"--build-host" "${buildTarget'.user}@${buildTarget'.host}"
|
||||
"--target-host" "${target'.user}@${target'.host}"
|
||||
] ++ lib.optionals target'.sudo [
|
||||
"--use-remote-sudo"
|
||||
]) buildTarget'}
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue