From 9e5d37711c77d4921fbb573194ae474bf082df50 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Fri, 8 Nov 2024 14:01:17 -0800 Subject: Allow my SSH key for root@iso --- flake.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 9920c96..dff656b 100644 --- a/flake.nix +++ b/flake.nix @@ -96,10 +96,9 @@ "${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix" ({ #isoImage.squashfsCompression = "gzip -Xcompression-level 1"; - users.users.nixos = { - openssh.authorizedKeys.keys = [ - (builtins.readFile ./hosts/common/users/nipsy/keys/id_arrakis.pub) - ]; + users.users = { + nixos.openssh.authorizedKeys.keys = [ (builtins.readFile ./hosts/common/users/nipsy/keys/id_arrakis.pub) ]; + root.openssh.authorizedKeys.keys = [ (builtins.readFile ./hosts/common/users/nipsy/keys/id_arrakis.pub) ]; }; }) ]; -- cgit v1.2.3