From: Duje Mihanović Date: Mon, 11 Sep 2023 14:47:53 +0000 (+0200) Subject: Add ssh keys to root X-Git-Url: https://git.dujemihanovic.xyz/%7B%7B?a=commitdiff_plain;h=046bb9bc338b65c8c3f9d5aac0a589354e0c872e;p=nixos-configuration.git Add ssh keys to root --- diff --git a/configuration.nix b/configuration.nix index 61a1f8e..b04823e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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;