Fix deprecated NixOS options for 25.11

- Use nixpkgs.hostPlatform module instead of deprecated system arg to lib.nixosSystem
- Rename services.logind.powerKey to services.logind.settings.Login.HandlePowerKey

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-03 09:53:25 -07:00
parent b6aa8346f5
commit 3be5613120
2 changed files with 2 additions and 2 deletions

View File

@@ -69,9 +69,9 @@
"straylight"
"vade"
] (hostName: lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
{ nixpkgs.hostPlatform = "x86_64-linux"; }
{ networking.hostName = hostName; }
inputs.disko.nixosModules.disko
./hw/${hostName}