From df593b467e2155f92d8fab8c98fc312294f4f8a3 Mon Sep 17 00:00:00 2001 From: goeranh Date: Sat, 28 Feb 2026 02:34:05 +0100 Subject: [PATCH] kein admin user anlegen --- default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/default.nix b/default.nix index 4d494dd..4970af1 100644 --- a/default.nix +++ b/default.nix @@ -38,7 +38,7 @@ in "nix-command" "flakes" ]; - trusted-users = [ "administration" ]; + # trusted-users = [ "administration" ]; auto-optimise-store = true; }; optimise.automatic = true; @@ -60,11 +60,12 @@ in }; users.users = { - administration = { - isNormalUser = true; - extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. - openssh.authorizedKeys.keys = keys; - }; + # erstmal nur mit root + # administration = { + # isNormalUser = true; + # extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. + # openssh.authorizedKeys.keys = keys; + # }; root = { openssh.authorizedKeys.keys = keys; };