common/xfce: enable by default

This commit is contained in:
Oystein Kristoffer Tveit 2024-12-03 13:19:33 +01:00
parent 9393d47390
commit e75bba4e36
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
2 changed files with 9 additions and 10 deletions

View File

@ -136,8 +136,6 @@ in {
};
irqbalance.enable = true;
displayManager.defaultSession = "none+xmonad";
};
programs = {

View File

@ -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;