1
0
Fork 0
mirror of https://cgit.krebsco.de/krops synced 2024-11-01 00:39:48 +01: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') [ ] ++ 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'}
''; '';