mirror of
https://cgit.krebsco.de/krops/
synced 2025-02-11 17:55:52 +00:00
Merge pull request #24 from jpotier/fix-sudo-for-remote
Add flag to nixos-rebuild
This commit is contained in:
commit
c207e1f71b
@ -80,6 +80,8 @@ in
|
|||||||
] ++ lib.optionals (buildTarget' != target') [
|
] ++ lib.optionals (buildTarget' != target') [
|
||||||
"--build-host" "${buildTarget'.user}@${buildTarget'.host}"
|
"--build-host" "${buildTarget'.user}@${buildTarget'.host}"
|
||||||
"--target-host" "${target'.user}@${target'.host}"
|
"--target-host" "${target'.user}@${target'.host}"
|
||||||
|
] ++ lib.optionals target'.sudo [
|
||||||
|
"--use-remote-sudo"
|
||||||
]) buildTarget'}
|
]) buildTarget'}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user