From 083c68bb21ad49afc1fd242fff404286ab748669 Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 28 Sep 2023 21:32:38 +0900 Subject: [PATCH] Test --- nixos/default.nix | 2 ++ nixos/hosts/nixos-vm-01/default.nix | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/nixos/default.nix b/nixos/default.nix index 66b08280..7b10fe89 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -70,4 +70,6 @@ }; system.stateVersion = stateVersion; + # Seems like this is needed because of account lockouts while unlocking the disk? + users.users.root.hashedPassword = "$y$j9T$tuWoymR75nguhvCwCQwZq1$Ajxce4ODZiA6Xpai.dwE5MrH4qj.xV2850MtDG2jds0"; } diff --git a/nixos/hosts/nixos-vm-01/default.nix b/nixos/hosts/nixos-vm-01/default.nix index 9eedd890..1eb00a06 100644 --- a/nixos/hosts/nixos-vm-01/default.nix +++ b/nixos/hosts/nixos-vm-01/default.nix @@ -47,7 +47,4 @@ }; services.tailscale.authKeyFile = "/run/secrets/tailscale_keys/nixos-vm-01"; # networking.firewall.allowedTCPPorts = [ 22 ]; - - # SSH Keys for root for remote builds - users.users.root.openssh.authorizedKeys.keyFiles = [ ../../../keys/ssh/keys.txt ]; }