SurfaceGo: update kernel version

This commit is contained in:
Toast 2023-09-04 19:31:17 +02:00
parent 9cb596d6c5
commit 7e6a0c9ad2

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running `nixos-help`).
{ config, pkgs, ... }:
{ config, pkgs, lib, ... }:
{
# Use grub boot loader
@ -26,6 +26,13 @@
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
/*
As of commit 793de77d9f83418b428e8ba70d1e42c6507d0d35 of nixos-hardware, the
default kerrnel version for the Surface Go is 6.1.18, which fails to build.
Setting it to 6.4.12 works around this
*/
microsoft-surface.kernelVersion = lib.mkForce "6.4.12";
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";