Skip to content

Commit

Permalink
Reapply: Don't emit autoLogin config with eval warning
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
FriedrichAltheide committed Dec 16, 2024
1 parent fd0d4c5 commit 38810ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/nixos/defaultConfigs/snippets/autologin.snippet
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Enable automatic login for the user.
services.xserver.displayManager.autoLogin.enable = true;
services.xserver.displayManager.autoLogin.user = "@@username@@";
services.displayManager.autoLogin.enable = true;
services.displayManager.autoLogin.user = "@@username@@";

0 comments on commit 38810ee

Please sign in to comment.