diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-11-08 14:01:17 -0800 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-11-08 14:01:17 -0800 |
commit | 9e5d37711c77d4921fbb573194ae474bf082df50 (patch) | |
tree | c6daced4a858e2ceee9655c994bef1565c031a97 /flake.nix | |
parent | 1152596d3a20ec605f7a48b8be4500a477e487bc (diff) | |
download | nix-9e5d37711c77d4921fbb573194ae474bf082df50.tar nix-9e5d37711c77d4921fbb573194ae474bf082df50.tar.gz nix-9e5d37711c77d4921fbb573194ae474bf082df50.tar.bz2 nix-9e5d37711c77d4921fbb573194ae474bf082df50.tar.lz nix-9e5d37711c77d4921fbb573194ae474bf082df50.tar.xz nix-9e5d37711c77d4921fbb573194ae474bf082df50.tar.zst nix-9e5d37711c77d4921fbb573194ae474bf082df50.zip |
Allow my SSH key for root@iso
Diffstat (limited to '')
-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) ]; }; }) ]; |