From 06c003b5287d0b08af1ee23e54528713928a4a94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Schr=C3=B6ter?= <dev@felschr.com> Date: Thu, 27 Jul 2023 19:14:53 +0200 Subject: [PATCH] fix(flake): fix deploy-rs config --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index a2b340d..1172e31 100644 --- a/flake.nix +++ b/flake.nix @@ -172,9 +172,12 @@ deploy.nodes.home-server = { hostname = "192.168.1.102"; profiles.system = { - user = "felschr"; + sshUser = "felschr"; + sshOpts = [ "-t" ]; + user = "root"; path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.home-server; + magicRollback = false; # otherwise password prompt won't work }; }; };