Skip to content

Commit 55835a5

Browse files
committed
treewide: Remove all references to SLiM
This fixes the following evaluation error: The option `services.xserver.displayManager.slim' can no longer be used since it's been removed. The SLIM project is abandoned and their last release was in 2013. Because of this it poses a security risk to your system. Other issues include it not fully supporting systemd and logind sessions. Please use a different display manager such as LightDM, SDDM, or GDM. You can also use the startx module which uses Xinitrc. Here is the nixpkgs upstream pull request removing SLiM: NixOS/nixpkgs#73251 Since I was using a custom theme for SLiM and actually liked the minimalism, it's probably time to start patching LightDM soon. For now however, I'll stay with a default LightDM configuration and wait until I'm getting annoyed :-) Signed-off-by: aszlig <[email protected]>
1 parent e84d9dc commit 55835a5

File tree

4 files changed

+1
-50
lines changed

4 files changed

+1
-50
lines changed

modules/core/tests.nix

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -504,9 +504,6 @@ let
504504
{ check = true;
505505
path = ["nixos" "simple"];
506506
}
507-
{ check = config.services.xserver.displayManager.slim.enable;
508-
path = ["nixos" "slim"];
509-
}
510507
{ check = config.services.snapper.configs != {};
511508
path = ["nixos" "snapper"];
512509
}

modules/module-list.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
./user/aszlig/programs/taskwarrior
2525
./user/aszlig/programs/zsh
2626
./user/aszlig/services/i3
27-
./user/aszlig/services/slim
2827
./user/aszlig/services/vlock
2928
./user/devhell/profiles/base.nix
3029
./user/devhell/profiles/packages.nix

modules/user/aszlig/profiles/workstation/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ in {
6060
};
6161

6262
vuizvui.user.aszlig.services.i3.enable = true;
63-
vuizvui.user.aszlig.services.slim.enable = true;
6463
vuizvui.user.aszlig.services.vlock.enable = true;
6564
vuizvui.user.aszlig.services.vlock.user = "aszlig";
6665

@@ -160,6 +159,7 @@ in {
160159
enable = true;
161160
layout = "dvorak";
162161

162+
displayManager.lightdm.enable = true;
163163
displayManager.sessionCommands = ''
164164
${pkgs.xorg.xrdb}/bin/xrdb "${pkgs.writeText "xrdb.config" ''
165165
XTerm*font: vga

modules/user/aszlig/services/slim/default.nix

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)