fix(security): enable sudo password for ryan, use root for remote deployment

This commit is contained in:
Ryan Yin
2024-03-04 18:28:49 +08:00
parent 77bd038f32
commit 2072da67a5
2 changed files with 4 additions and 7 deletions

View File

@@ -7,6 +7,7 @@ with allSystemAttrs; let
inherit home-manager;
inherit nixpkgs; # or nixpkgs-unstable
specialArgs = allSystemSpecialArgs.x64_system;
targetUser = "root";
};
# riscv64 related
@@ -38,7 +39,7 @@ with allSystemAttrs; let
inherit home-manager;
inherit (nixos-rk3588.inputs) nixpkgs; # or nixpkgs-unstable
specialArgs = rk3588_specialArgs;
targetUser = "ryan";
targetUser = "root";
};
in {
# colmena - remote deployment via SSH