From 5ea481a79a206b390ae7cf1249cf81bbe971fd4d Mon Sep 17 00:00:00 2001 From: Justus Perlwitz Date: Sat, 20 Jul 2024 18:29:49 +0900 Subject: [PATCH 1/3] flake.lock: Update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/c0d0be00d4ecc4b51d2d6948e37466194c1e6c51' (2024-07-04) → 'github:NixOS/nixpkgs/c716603a63aca44f39bef1986c13402167450e0a' (2024-07-17) --- flake.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index f7dcb74..38f65c8 100644 --- a/flake.lock +++ b/flake.lock @@ -18,11 +18,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1720110830, - "narHash": "sha256-E5dN9GDV4LwMEduhBLSkyEz51zM17XkWZ3/9luvNOPs=", + "lastModified": 1721226092, + "narHash": "sha256-UBvzVpo5sXSi2S/Av+t+Q+C2mhMIw/LBEZR+d6NMjws=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c0d0be00d4ecc4b51d2d6948e37466194c1e6c51", + "rev": "c716603a63aca44f39bef1986c13402167450e0a", "type": "github" }, "original": { From 967456100c7eebdf4dbd60afa987033cc6f2ebfc Mon Sep 17 00:00:00 2001 From: Justus Perlwitz Date: Sat, 20 Jul 2024 21:28:29 +0900 Subject: [PATCH 2/3] Update system.stateVersion to 24.05 --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index a814b87..6ed9e79 100644 --- a/flake.nix +++ b/flake.nix @@ -266,7 +266,7 @@ ln -sf ${dicewareWebApp}/share/applications/${dicewareWebApp.name} ${desktopDir} ln -sfT ${self} ${documentsDir}/YubiKey-Guide ''; - system.stateVersion = "23.11"; + system.stateVersion = "24.05"; } ) ]; From e4fb29ca246eae5dd03fdbf8ab6f9479a58cfd36 Mon Sep 17 00:00:00 2001 From: Justus Perlwitz Date: Sat, 20 Jul 2024 18:36:36 +0900 Subject: [PATCH 3/3] 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