diff --git a/hosts/nix-surface.nix b/hosts/nix-surface.nix index 6e8bfa2..39943d8 100644 --- a/hosts/nix-surface.nix +++ b/hosts/nix-surface.nix @@ -1,7 +1,7 @@ { config, lib, pkgs, inputs, modulesPath, ... }: let refSystem = inputs.nixpkgs-old-kernel.lib.nixosSystem { - system = pkgs.system; + system = pkgs.stdenv.hostPlatform.system; modules = [ inputs.nixos-hardware.nixosModules.microsoft-surface-go ]; }; refKernelPackages = refSystem.config.boot.kernelPackages;