diff options
-rw-r--r-- | flake.nix | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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) ]; }; }) ]; |