flake-parts/setups/nixos: fix deploy node settings

This commit is contained in:
Gabriel Arazas 2024-09-28 18:59:36 +08:00
parent 9292a75ffa
commit 27ad019086
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -79,8 +79,8 @@ let
type = with lib.types; functionTo (attrsOf anything); type = with lib.types; functionTo (attrsOf anything);
default = os: { default = os: {
system = { system = {
sshUser = "root"; sshUser = "admin";
user = "admin"; user = "root";
path = inputs.deploy.lib.${os.system}.activate.nixos os.config; path = inputs.deploy.lib.${os.system}.activate.nixos os.config;
}; };
}; };