mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-11-18 10:13:00 +00:00
27 lines
653 B
Nix
27 lines
653 B
Nix
{
|
|
system.nixos.stateVersion = "18.03";
|
|
|
|
services.xserver = {
|
|
enable = true;
|
|
desktopManager.xterm.enable = false;
|
|
displayManager.slim = {
|
|
enable = true;
|
|
defaultUser = "user";
|
|
autoLogin = true;
|
|
};
|
|
windowManager.xmonad.enable = true;
|
|
windowManager.default = "xmonad";
|
|
monitorSection = ''
|
|
Modeline "3840x2160_60.00" 712.75 3840 4160 4576 5312 2160 2163 2168 2237 -hsync +vsync
|
|
Option "PreferredMode" "3840x2160_60.00"
|
|
DisplaySize 286 179 # In millimeters
|
|
'';
|
|
};
|
|
|
|
users.extraUsers.user = {
|
|
isNormalUser = true;
|
|
extraGroups = [ "audio" ];
|
|
createHome = true;
|
|
};
|
|
}
|