From accb4d4c81eb380e3c4ab4c8215fde66fb894847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=E2=80=9CNiols=E2=80=9D=20Jeannerod?= Date: Sun, 17 Nov 2024 00:41:09 +0100 Subject: [PATCH] Move files related to vm02186 to own directory --- infra/{ => vm02186}/flake.nix | 0 infra/{ => vm02186}/gitea-runner.nix | 0 infra/{ => vm02186}/hardware-configuration.nix | 0 infra/{ => vm02186}/procolix-configuration.nix | 7 ++++++- 4 files changed, 6 insertions(+), 1 deletion(-) rename infra/{ => vm02186}/flake.nix (100%) rename infra/{ => vm02186}/gitea-runner.nix (100%) rename infra/{ => vm02186}/hardware-configuration.nix (100%) rename infra/{ => vm02186}/procolix-configuration.nix (96%) 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 08a6b187..30d84275 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;