I'm using NixOS with XMonad as a window manager, which was enabled via the configurations.nix. This works fine.
After booting, the initial login is done via the NixOS login gui.
On a Debian system for instance systemd can be configured to boot only to the terminal and not directly to a desktop environment. One can setup an .xinit
file then to start the chosen window manager or desktop environment without using any display manager (like lightdm, kdm...). It's started then by calling startx
.
- How would described effect be done in Nix? I guess there's an declarative way to do so.
- Another question, partly related to this, is: After changing
xserver settings in the configurations.nix (e.g. in
services.xserver.synaptics) and rebuilding via
nixos-rebuild switch/test
, what do I have to do in order to take them in effect?