refactor: Fix warning system renamed to stdenv.hostPlatform.system
This commit is contained in:
committed by
Hunter Halloran
parent
a8c263bac5
commit
6a316489f0
@@ -1,7 +1,7 @@
|
|||||||
{ config, lib, pkgs, inputs, modulesPath, ... }:
|
{ config, lib, pkgs, inputs, modulesPath, ... }:
|
||||||
let
|
let
|
||||||
refSystem = inputs.nixpkgs-old-kernel.lib.nixosSystem {
|
refSystem = inputs.nixpkgs-old-kernel.lib.nixosSystem {
|
||||||
system = pkgs.system;
|
system = pkgs.stdenv.hostPlatform.system;
|
||||||
modules = [ inputs.nixos-hardware.nixosModules.microsoft-surface-go ];
|
modules = [ inputs.nixos-hardware.nixosModules.microsoft-surface-go ];
|
||||||
};
|
};
|
||||||
refKernelPackages = refSystem.config.boot.kernelPackages;
|
refKernelPackages = refSystem.config.boot.kernelPackages;
|
||||||
|
|||||||
Reference in New Issue
Block a user