fix users in VM again

This commit is contained in:
Jörg Thalheim
2024-08-24 18:31:40 +02:00
parent 8a3d21c424
commit 1585afc8b3
3 changed files with 9 additions and 6 deletions

View File

@@ -45,13 +45,16 @@
security.sudo.wheelNeedsPassword = false;
users.users.user = lib.mkIf (config.clan.services.waypipe.user == "user") {
isNormalUser = true;
uid = 1000;
password = "";
# workaround sysusers
isSystemUser = true;
uid = 998;
group = "users";
initialPassword = "";
extraGroups = [
"wheel"
"video"
];
home = "/home/user";
shell = "/run/current-system/sw/bin/bash";
};