From 94d894f76e2a8ecdf33eeca741061e9ce471b584 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 28 Jun 2024 17:10:53 -0400 Subject: [PATCH] root: add authorized keys --- nixosModules/users/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/nixosModules/users/default.nix b/nixosModules/users/default.nix index 79540f33..38f06fcd 100644 --- a/nixosModules/users/default.nix +++ b/nixosModules/users/default.nix @@ -12,5 +12,14 @@ ./morgan ]; - users.mutableUsers = false; + users = { + mutableUsers = false; + + users.root.openssh.authorizedKeys.keyFiles = [ + ../../secrets/publicKeys/aly_lavaridge.pub + ../../secrets/publicKeys/aly_mauville.pub + ../../secrets/publicKeys/aly_petalburg.pub + ../../secrets/publicKeys/aly_rustboro.pub + ]; + }; }