appvm/nix/base.nix

31 lines
695 B
Nix
Raw Normal View History

2018-06-30 08:39:47 +00:00
{
imports = [
<nix/monitor.nix>
];
2018-06-30 08:39:47 +00:00
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";
2018-06-30 15:47:54 +00:00
monitorSection = ''
Modeline "3840x2160_60.00" 712.75 3840 4160 4576 5312 2160 2163 2168 2237 -hsync +vsync
Option "PreferredMode" "3840x2160_60.00"
2018-06-30 19:26:48 +00:00
DisplaySize 610 350 # In millimeters
2018-06-30 15:47:54 +00:00
'';
2018-06-30 08:39:47 +00:00
};
users.extraUsers.user = {
isNormalUser = true;
extraGroups = [ "audio" ];
createHome = true;
};
}