From b399e823da5fcca1d707abef577a32195b5b0ac8 Mon Sep 17 00:00:00 2001 From: Lukas Wurzinger Date: Sun, 15 Sep 2024 18:07:59 +0200 Subject: [PATCH] stuff --- common/users.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/users.nix b/common/users.nix index 6498912..ff79f5d 100644 --- a/common/users.nix +++ b/common/users.nix @@ -5,7 +5,10 @@ mutableUsers = false; users = { - root.hashedPassword = "!"; + root = { + hashedPassword = "!"; + openssh.authorizedKeys.keys = builtins.attrValues (import ../pubkeys.nix).hosts; + }; lukas = { uid = 1000; isNormalUser = true;