1
0
mirror of https://cgit.krebsco.de/krops synced 2024-05-31 21:43:32 +02:00

Merge pull request #24 from jpotier/fix-sudo-for-remote

Add flag to nixos-rebuild
This commit is contained in:
tv 2020-11-20 19:49:26 +01:00 committed by GitHub
commit c207e1f71b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'}
'';