noninteractive: simplify the nixos user creation

This commit is contained in:
Jörg Thalheim 2024-08-02 08:20:52 +02:00 committed by mergify[bot]
parent 78065dbf9f
commit 6dd73e10d7

View file

@ -35,8 +35,8 @@
users.users.nixos = { users.users.nixos = {
isSystemUser = true; isSystemUser = true;
isNormalUser = lib.mkForce false; isNormalUser = lib.mkForce false;
group = "nixos";
}; };
users.users.nixos.group = "nixos";
users.groups.nixos = {}; users.groups.nixos = {};
# we are missing this from base.nix # we are missing this from base.nix