summary refs log tree commit diff
path: root/nixos/tests/xrdp.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/tests/xrdp.nix
parent7adffb14cd129e919ccba8a7a285d409065d4357 (diff)
downloadnixpkgs-c95612a5a2d4bd93011c042066c6c3deacfd436d.tar
nixpkgs-c95612a5a2d4bd93011c042066c6c3deacfd436d.tar.gz
nixpkgs-c95612a5a2d4bd93011c042066c6c3deacfd436d.tar.bz2
nixpkgs-c95612a5a2d4bd93011c042066c6c3deacfd436d.tar.lz
nixpkgs-c95612a5a2d4bd93011c042066c6c3deacfd436d.tar.xz
nixpkgs-c95612a5a2d4bd93011c042066c6c3deacfd436d.tar.zst
nixpkgs-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/tests/xrdp.nix')
-rw-r--r--nixos/tests/xrdp.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/xrdp.nix b/nixos/tests/xrdp.nix
index 1aceeffb955..6d7f2b9249f 100644
--- a/nixos/tests/xrdp.nix
+++ b/nixos/tests/xrdp.nix
@@ -14,7 +14,7 @@ import ./make-test-python.nix ({ pkgs, ...} : {
 
     client = { pkgs, ... }: {
       imports = [ ./common/x11.nix ./common/user-account.nix ];
-      services.xserver.displayManager.auto.user = "alice";
+      test-support.displayManager.auto.user = "alice";
       environment.systemPackages = [ pkgs.freerdp ];
       services.xrdp.enable = true;
       services.xrdp.defaultWindowManager = "${pkgs.icewm}/bin/icewm";