8dc5ff7dcf
The upstream session files display managers use have no concept of sessions being composed from desktop manager and window manager. To be able to set upstream session files as default session, we need a single option. Having two different ways to set default session would be confusing, though, so we decided to deprecate the old method. We also created separate script for each session, just like we already had a separate desktop file for each one, and started using displayManager.sessionPackages mechanism to make the session handling more uniform.
12 lines
336 B
Nix
12 lines
336 B
Nix
{ lib, ... }:
|
|
|
|
{ services.xserver.enable = true;
|
|
|
|
# Automatically log in.
|
|
services.xserver.displayManager.auto.enable = true;
|
|
|
|
# Use IceWM as the window manager.
|
|
# Don't use a desktop manager.
|
|
services.xserver.displayManager.defaultSession = lib.mkDefault "none+icewm";
|
|
services.xserver.windowManager.icewm.enable = true;
|
|
}
|