about summary refs log tree commit diff
path: root/nixos/modules/rename.nix
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2020-01-26 17:41:19 -0500
committerworldofpeace <worldofpeace@protonmail.ch>2020-01-29 19:05:46 -0500
commitc95612a5a2d4bd93011c042066c6c3deacfd436d (patch)
tree08448c24e08d760bd8a7717af60a15a0bbf7d547 /nixos/modules/rename.nix
parent7adffb14cd129e919ccba8a7a285d409065d4357 (diff)
downloadnixlib-c95612a5a2d4bd93011c042066c6c3deacfd436d.tar
nixlib-c95612a5a2d4bd93011c042066c6c3deacfd436d.tar.gz
nixlib-c95612a5a2d4bd93011c042066c6c3deacfd436d.tar.bz2
nixlib-c95612a5a2d4bd93011c042066c6c3deacfd436d.tar.lz
nixlib-c95612a5a2d4bd93011c042066c6c3deacfd436d.tar.xz
nixlib-c95612a5a2d4bd93011c042066c6c3deacfd436d.tar.zst
nixlib-c95612a5a2d4bd93011c042066c6c3deacfd436d.zip
nixos/display-managers/auto: remove
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.
Diffstat (limited to 'nixos/modules/rename.nix')
-rw-r--r--nixos/modules/rename.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/modules/rename.nix b/nixos/modules/rename.nix
index 26de8a18d922..dbe687d8e22f 100644
--- a/nixos/modules/rename.nix
+++ b/nixos/modules/rename.nix
@@ -34,6 +34,13 @@ with lib;
       as the underlying package isn't being maintained. Working alternatives are
       libinput and synaptics.
     '')
+    (mkRemovedOptionModule [ "services" "xserver" "displayManager" "auto" ] ''
+      The services.xserver.displayManager.auto module has been removed
+      because it was only intended for use in internal NixOS tests, and gave the
+      false impression of it being a special display manager when it's actually
+      LightDM. Please use the services.xserver.displayManager.lightdm.autoLogin options
+      instead, or any other display manager in NixOS as they all support auto-login.
+    '')
 
     # Do NOT add any option renames here, see top of the file
   ];