mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
c95612a5a2
This module allows root autoLogin, so we would break that for users, but they shouldn't be using it anyways. This gives the impression like auto is some special display manager, when it's just lightdm and special pam rules to allow root autoLogin. It was created for NixOS's testing so I believe this is where it belongs.
18 lines
369 B
Nix
18 lines
369 B
Nix
{ lib, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./auto.nix
|
|
];
|
|
|
|
services.xserver.enable = true;
|
|
|
|
# Automatically log in.
|
|
test-support.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;
|
|
}
|