clan-modules: add vm-user module
This commit is contained in:
@@ -11,6 +11,8 @@
|
|||||||
moonlight = ./moonlight.nix;
|
moonlight = ./moonlight.nix;
|
||||||
sunshine = ./sunshine.nix;
|
sunshine = ./sunshine.nix;
|
||||||
syncthing = ./syncthing.nix;
|
syncthing = ./syncthing.nix;
|
||||||
|
vm-user = ./vm-user.nix;
|
||||||
|
graphical = ./graphical.nix;
|
||||||
xfce = ./xfce.nix;
|
xfce = ./xfce.nix;
|
||||||
zt-tcp-relay = ./zt-tcp-relay.nix;
|
zt-tcp-relay = ./zt-tcp-relay.nix;
|
||||||
localsend = ./localsend.nix;
|
localsend = ./localsend.nix;
|
||||||
|
|||||||
4
clanModules/graphical.nix
Normal file
4
clanModules/graphical.nix
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
_:
|
||||||
|
{
|
||||||
|
fonts.enableDefaultPackages = true;
|
||||||
|
}
|
||||||
20
clanModules/vm-user.nix
Normal file
20
clanModules/vm-user.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user