Skip to content

Commit 7dc84e1

Browse files
committed
installer: use sddm in plasma5
Slim is abandoned and won't work with wayland. It's in our best interest to use the display-manager that makes most sense for Plasma5, sddm. We've already moved on from it being default in NixOS#30890 and the graphical.nix profile, which the virtualbox profile uses, has sddm anyway.
1 parent 9addfc0 commit 7dc84e1

File tree

3 files changed

+10
-13
lines changed

3 files changed

+10
-13
lines changed

nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,7 @@ with lib;
2222
});
2323
'';
2424

25-
services.xserver = {
26-
enable = true;
27-
28-
# Automatically login as nixos.
29-
displayManager.slim = {
30-
enable = true;
31-
defaultUser = "nixos";
32-
autoLogin = true;
33-
};
34-
35-
};
25+
services.xserver.enable = true;
3626

3727
# Provide networkmanager for easy wireless configuration.
3828
networking.networkmanager.enable = true;

nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ with lib;
1010

1111
services.xserver.desktopManager.gnome3.enable = true;
1212

13-
services.xserver.displayManager.slim.enable = mkForce false;
14-
1513
# Auto-login as root.
1614
services.xserver.displayManager.gdm.autoLogin = {
1715
enable = true;

nixos/modules/installer/cd-dvd/installation-cd-graphical-kde.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ with lib;
1313
enable = true;
1414
enableQt4Support = false;
1515
};
16+
17+
# Automatically login as nixos.
18+
displayManager.sddm = {
19+
enable = true;
20+
autoLogin = {
21+
enable = true;
22+
user = "nixos";
23+
};
24+
};
1625
};
1726

1827
environment.systemPackages = with pkgs; [

0 commit comments

Comments
 (0)