Using X without a Display Manager: Difference between revisions
imported>Fadenb m Syntaxhighlight |
imported>Fadenb m →Use xlaunch: whitespace removal |
||
Line 12: | Line 12: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
environment.systemPackages = with pkgs; [ | |||
xlaunch | |||
]; | |||
security.setuidPrograms = [ | |||
"xlaunch" | |||
]; | |||
services.xserver = { | |||
autorun = false; | |||
enable = true; | |||
enableTCP = false; | |||
exportConfiguration = true; | |||
layout = "us"; | |||
desktopManager = { | |||
xterm.enable = false; | |||
xfce.enable = false; | |||
}; | }; | ||
# XXX: slim must not be disabled for xlaunch to work | |||
# displayManager = { | |||
# slim.enable = false; | |||
# job.execCmd = ""; | |||
# }; | |||
windowManager = { | |||
fluxbox.enable = true; | |||
}; | |||
}; | |||
</syntaxhighlight> | </syntaxhighlight> | ||