clan-modules: add vm-user module

This commit is contained in:
a-kenji
2024-03-12 16:43:31 +01:00
parent 422b3f096e
commit b5433beef9
3 changed files with 26 additions and 0 deletions

20
clanModules/vm-user.nix Normal file
View File

@@ -0,0 +1,20 @@
{
security = {
sudo.wheelNeedsPassword = false;
polkit.enable = true;
rtkit.enable = true;
};
users.users.user = {
isNormalUser = true;
createHome = true;
uid = 1000;
initialHashedPassword = "";
extraGroups = [
"wheel"
"video"
"render"
];
shell = "/run/current-system/sw/bin/bash";
};
}