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:
@@ -69,9 +69,9 @@
|
|||||||
"straylight"
|
"straylight"
|
||||||
"vade"
|
"vade"
|
||||||
] (hostName: lib.nixosSystem {
|
] (hostName: lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
|
||||||
specialArgs = { inherit inputs; };
|
specialArgs = { inherit inputs; };
|
||||||
modules = [
|
modules = [
|
||||||
|
{ nixpkgs.hostPlatform = "x86_64-linux"; }
|
||||||
{ networking.hostName = hostName; }
|
{ networking.hostName = hostName; }
|
||||||
inputs.disko.nixosModules.disko
|
inputs.disko.nixosModules.disko
|
||||||
./hw/${hostName}
|
./hw/${hostName}
|
||||||
|
|||||||
@@ -59,5 +59,5 @@
|
|||||||
"~mcp.metacircular.net"
|
"~mcp.metacircular.net"
|
||||||
];
|
];
|
||||||
|
|
||||||
services.logind.powerKey = "ignore";
|
services.logind.settings.Login.HandlePowerKey = "ignore";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user