aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-11-08 14:01:17 -0800
committerMark Nipper <nipsy@bitgnome.net>2024-11-08 14:01:17 -0800
commit9e5d37711c77d4921fbb573194ae474bf082df50 (patch)
treec6daced4a858e2ceee9655c994bef1565c031a97
parent1152596d3a20ec605f7a48b8be4500a477e487bc (diff)
downloadnix-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
-rw-r--r--flake.nix7
1 files 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) ];
};
})
];