diff --git a/flake.nix b/flake.nix index bee9821..aa30775 100644 --- a/flake.nix +++ b/flake.nix @@ -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} diff --git a/hw/vade/default.nix b/hw/vade/default.nix index d79781c..cfd245a 100644 --- a/hw/vade/default.nix +++ b/hw/vade/default.nix @@ -59,5 +59,5 @@ "~mcp.metacircular.net" ]; - services.logind.powerKey = "ignore"; + services.logind.settings.Login.HandlePowerKey = "ignore"; }