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
1 changed files with 2 additions and 0 deletions

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