]> git.dujemihanovic.xyz Git - nixos-configuration.git/commitdiff
Add ssh keys to root
authorDuje Mihanović <duje.mihanovic@skole.hr>
Mon, 11 Sep 2023 14:47:53 +0000 (16:47 +0200)
committerDuje Mihanović <duje.mihanovic@skole.hr>
Mon, 11 Sep 2023 14:47:53 +0000 (16:47 +0200)
configuration.nix

index 61a1f8ea62f18168d34efab81c0e5e8d4fbd429a..b04823ebb68204269cb925ac27185489703ea7c7 100644 (file)
@@ -75,6 +75,9 @@
         "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKeuxm8MnRjkVnrE+lZjlI+MuqzvD78OmvSgd43UMJ6b" ];
     shell = pkgs.zsh;
   };
+  users.users.root.openssh.authorizedKeys.keys =
+    [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIMI2evf5v4ghSCJWacQJGMINjYW48WZYLvL6KIob1rd"
+      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKeuxm8MnRjkVnrE+lZjlI+MuqzvD78OmvSgd43UMJ6b" ];
 
   # Allow unfree packages
   nixpkgs.config.allowUnfree = true;