ma gui: update with refactored xserver options
This commit is contained in:
parent
374c984b7a
commit
3a194207c9
|
@ -29,21 +29,16 @@ in
|
|||
awesome.enable = true;
|
||||
awesome.noArgb = true;
|
||||
awesome.luaModules = [ pkgs.luaPackages.vicious ];
|
||||
default = "awesome";
|
||||
};
|
||||
|
||||
displayManager.lightdm = {
|
||||
enable = true;
|
||||
autoLogin.enable = true;
|
||||
autoLogin.user = mainUser;
|
||||
};
|
||||
displayManager.defaultSession = lib.mkDefault "awesome";
|
||||
displayManager.lightdm = { enable = true; autoLogin.enable = true; autoLogin.user = mainUser; };
|
||||
desktopManager.xterm.enable = false;
|
||||
};
|
||||
environment.systemPackages = [ pkgs.gnome3.defaultIconTheme ];
|
||||
# lid switch is handled via button presses
|
||||
services.logind.lidSwitch = lib.mkDefault "ignore";
|
||||
makefu.awesome.enable = true;
|
||||
i18n.consoleFont = "Lat2-Terminus16";
|
||||
console.font = "Lat2-Terminus16";
|
||||
|
||||
fonts = {
|
||||
enableFontDir = true;
|
||||
|
|
|
@ -12,16 +12,15 @@
|
|||
|
||||
windowManager = lib.mkForce {
|
||||
awesome.enable = false;
|
||||
default = "xfce";
|
||||
};
|
||||
desktopManager.xfce = {
|
||||
extraSessionCommands = ''
|
||||
enable = true;
|
||||
};
|
||||
displayManager.defaultSession = "xfce";
|
||||
displayManager.sessionCommands = ''
|
||||
${pkgs.xlibs.xset}/bin/xset -display :0 s off -dpms
|
||||
${pkgs.xlibs.xrandr}/bin/xrandr --output HDMI2 --right-of HDMI1
|
||||
'';
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# xrandrHeads = [ "HDMI1" "HDMI2" ];
|
||||
# prevent screen from turning off, disable dpms
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue