mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2025-05-01 17:44:24 +00:00
First useful solution
This commit is contained in:
parent
4cd7319752
commit
2fef367e45
6 changed files with 21 additions and 4 deletions
26
nix/base.nix
Normal file
26
nix/base.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
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 610 350 # In millimeters
|
||||
'';
|
||||
};
|
||||
|
||||
users.extraUsers.user = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "audio" ];
|
||||
createHome = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue