From 27ad0190867342714dfebf136f3bd6b715d7bddb Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 28 Sep 2024 18:59:36 +0800 Subject: [PATCH] flake-parts/setups/nixos: fix deploy node settings --- modules/flake-parts/setups/nixos.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/flake-parts/setups/nixos.nix b/modules/flake-parts/setups/nixos.nix index 0bc89a66..b93e9397 100644 --- a/modules/flake-parts/setups/nixos.nix +++ b/modules/flake-parts/setups/nixos.nix @@ -79,8 +79,8 @@ let type = with lib.types; functionTo (attrsOf anything); default = os: { system = { - sshUser = "root"; - user = "admin"; + sshUser = "admin"; + user = "root"; path = inputs.deploy.lib.${os.system}.activate.nixos os.config; }; };