From e4fb29ca246eae5dd03fdbf8ab6f9479a58cfd36 Mon Sep 17 00:00:00 2001 From: Justus Perlwitz Date: Sat, 20 Jul 2024 18:36:36 +0900 Subject: [PATCH] Rename displayManager.autoLogin setting This is based on a warning encountered when running the build with nix build .#nixosConfigurations.yubikeyLive.x86_64-linux.config.system.build.isoImage The message encountered was: > trace: warning: The option `services.xserver.displayManager.autoLogin' defined in `/nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/flake.nix' has been renamed to `services.displayManager.autoLogin'. --- flake.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 6ed9e79..475885c 100644 --- a/flake.nix +++ b/flake.nix @@ -118,10 +118,12 @@ }; displayManager = { lightdm.enable = true; - autoLogin = { - enable = true; - user = "nixos"; - }; + }; + }; + displayManager = { + autoLogin = { + enable = true; + user = "nixos"; }; }; # Host the `https://secure.research.vt.edu/diceware/` website offline