fix: Use nixpkgs 25.05 for building the kernel for the Surface tablets
instead of 25.11
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ inputs }:
|
||||
{ inputs, ... }:
|
||||
|
||||
let
|
||||
nixpkgs = inputs.nixpkgs;
|
||||
|
||||
@@ -1,4 +1,11 @@
|
||||
{ config, lib, modulesPath, ... }:
|
||||
{ config, lib, pkgs, inputs, modulesPath, ... }:
|
||||
let
|
||||
refSystem = inputs.nixpkgs-old-kernel.lib.nixosSystem {
|
||||
system = pkgs.system;
|
||||
modules = [ inputs.nixos-hardware.nixosModules.microsoft-surface-go ];
|
||||
};
|
||||
refKernelPackages = refSystem.config.boot.kernelPackages;
|
||||
in
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
@@ -16,7 +23,9 @@
|
||||
"rd.systemd.show_status=auto"
|
||||
];
|
||||
|
||||
disko.devices.disk.main.content.partitions.swap.size = "16G";
|
||||
boot.kernelPackages = lib.mkForce refKernelPackages;
|
||||
|
||||
disko.devices.disk.main.content.partitions.swap.size = "8G";
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
||||
Reference in New Issue
Block a user