From ac72234c9736aa0d7b1a28bb1c78dca0ff093f71 Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Wed, 19 Mar 2025 12:20:58 -0500 Subject: [PATCH] allow root in users config --- common/users/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/users/default.nix b/common/users/default.nix index 8c36799..551c7bb 100644 --- a/common/users/default.nix +++ b/common/users/default.nix @@ -43,7 +43,7 @@ in userConfig // { inherit name; - isNormalUser = true; + isNormalUser = lib.mkIf name != "root" true; initialPassword = if (lib.hasAttr "initialPassword" userConfig) then userConfig.initialPassword else "password1"; extraGroups =