clan-modules: add vm-user module #932

Merged
clan-bot merged 2 commits from a-kenji-add/vm-user into main 2024-03-12 16:36:24 +00:00
3 changed files with 26 additions and 0 deletions

View File

@ -11,6 +11,8 @@
moonlight = ./moonlight.nix;
sunshine = ./sunshine.nix;
syncthing = ./syncthing.nix;
vm-user = ./vm-user.nix;
graphical = ./graphical.nix;
xfce = ./xfce.nix;
zt-tcp-relay = ./zt-tcp-relay.nix;
localsend = ./localsend.nix;

View File

@ -0,0 +1,4 @@
_:
{
fonts.enableDefaultPackages = true;
}

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";
};
}