deploy-rs: Use root user for ssh connection

This commit is contained in:
SebastianStork 2025-08-14 18:54:56 +02:00
parent f6ceb72867
commit 0fddacfc57

View file

@ -25,8 +25,7 @@ let
mkDeployNode = hostname: { mkDeployNode = hostname: {
inherit hostname; inherit hostname;
user = "root"; sshUser = "root";
interactiveSudo = true;
profiles.system.path = profiles.system.path =
inputs.deploy-rs.lib.x86_64-linux.activate.nixos inputs.deploy-rs.lib.x86_64-linux.activate.nixos
self.nixosConfigurations.${hostname}; self.nixosConfigurations.${hostname};