diff --git a/infra/flake.nix b/infra/vm02186/flake.nix similarity index 100% rename from infra/flake.nix rename to infra/vm02186/flake.nix diff --git a/infra/gitea-runner.nix b/infra/vm02186/gitea-runner.nix similarity index 100% rename from infra/gitea-runner.nix rename to infra/vm02186/gitea-runner.nix diff --git a/infra/hardware-configuration.nix b/infra/vm02186/hardware-configuration.nix similarity index 100% rename from infra/hardware-configuration.nix rename to infra/vm02186/hardware-configuration.nix diff --git a/infra/procolix-configuration.nix b/infra/vm02186/procolix-configuration.nix similarity index 96% rename from infra/procolix-configuration.nix rename to infra/vm02186/procolix-configuration.nix index 08a6b18..30d8427 100644 --- a/infra/procolix-configuration.nix +++ b/infra/vm02186/procolix-configuration.nix @@ -122,7 +122,12 @@ i18n.defaultLocale = "en_US.UTF-8"; # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.root.hashedPassword = "$y$j9T$WXvLAUqArJJusuC017FCW0$.rfMOeyx/BsClkJFi5hLcynrSk.njWmfiB6Uy.9th3A"; + users.users.root = { + hashedPassword = "$y$j9T$WXvLAUqArJJusuC017FCW0$.rfMOeyx/BsClkJFi5hLcynrSk.njWmfiB6Uy.9th3A"; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEElREJN0AC7lbp+5X204pQ5r030IbgCllsIxyU3iiKY" + ]; + }; users.users.procolix = { isNormalUser = true;