Skip to content

Commit 47e5beb

Browse files
Reapply: Don't emit autoLogin config with eval warning
Fix this evaluation warning on the first rebuild after install: [test@nixos:~]$ sudo nixos-rebuild build building Nix... building the system configuration... evaluation warning: The option `services.xserver.displayManager.autoLogin' defined in `/etc/nixos/configuration.nix' has been renamed to `services.displayManager.autoLogin'. Original commit id: 41f9b1b Author: Bjørn Forsman <[email protected]> Co-authored-by: Bjørn Forsman <[email protected]>
1 parent 47f9df9 commit 47e5beb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Enable automatic login for the user.
2-
services.xserver.displayManager.autoLogin.enable = true;
3-
services.xserver.displayManager.autoLogin.user = "@@username@@";
2+
services.displayManager.autoLogin.enable = true;
3+
services.displayManager.autoLogin.user = "@@username@@";

0 commit comments

Comments
 (0)