common/xfce: enable by default
This commit is contained in:
parent
9393d47390
commit
e75bba4e36
|
@ -136,8 +136,6 @@ in {
|
|||
};
|
||||
|
||||
irqbalance.enable = true;
|
||||
|
||||
displayManager.defaultSession = "none+xmonad";
|
||||
};
|
||||
|
||||
programs = {
|
||||
|
|
|
@ -1,19 +1,20 @@
|
|||
{ config, ... }:
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
services.xserver = {
|
||||
enable = !config.machineVars.headless;
|
||||
services.xserver = lib.mkIf (!config.machineVars.headless) {
|
||||
enable = true;
|
||||
|
||||
xkb = {
|
||||
layout = "us";
|
||||
options = "caps:escape";
|
||||
};
|
||||
|
||||
# desktopManager = {
|
||||
# xterm.enable = false;
|
||||
# xfce.enable = !config.machineVars.headless;
|
||||
# };
|
||||
desktopManager = {
|
||||
xterm.enable = true;
|
||||
xfce.enable = true;
|
||||
};
|
||||
|
||||
displayManager.lightdm.enable = !config.machineVars.headless;
|
||||
displayManager.lightdm.enable = true;
|
||||
displayManager.defaultSession = "none+xmonad";
|
||||
|
||||
windowManager.xmonad = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in New Issue