nixpkgs/nixos/modules/installer/tools
Bjørn Forsman 263a81e285 nixos-rebuild: support sudo + --target-host
This adds support for deploying to remote hosts without being root:

  sudo nixos-rebuild --target-host non-root@host

Without this change, only root@host is able to deploy.

The idea is that if the local command is run with sudo, so should the
remote one, thus there is no need for adding any CLI options.
2019-10-22 20:44:25 +02:00
..
nixos-build-vms nixos-build-vms: pass --option to nix-build 2019-02-04 10:46:12 +01:00
get-version-suffix Revert adding .git-revision unconditionally 2016-08-09 14:15:06 +02:00
nix-fallback-paths.nix nix: 2.3 -> 2.3.1 2019-10-10 16:23:33 +02:00
nixos-enter.sh nixos-enter: silent activation script option 2019-08-13 23:48:58 +02:00
nixos-generate-config.pl nixos-generate-config: add useDHCP per interface 2019-09-24 11:44:01 +02:00
nixos-install.sh Revert "Merge #67232: machinectl compliant NixOS installation" 2019-10-07 20:56:59 +02:00
nixos-option.sh nixos-option: prune backtick from output 2019-01-24 02:37:29 +02:00
nixos-rebuild.sh nixos-rebuild: support sudo + --target-host 2019-10-22 20:44:25 +02:00
nixos-version.sh Revert "Merge pull request #48122 from zimbatm/pkg-nixos-rebuild" 2018-10-16 20:25:44 +02:00
tools.nix Revert "Merge pull request #71095 from flokli/pinentry-cleanup" 2019-10-16 20:28:21 -04:00