mashu: Change kernel

This commit is contained in:
2022-04-23 13:34:35 +02:00
parent ef8764f5be
commit 961278b2fe
3 changed files with 5 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
{
imports = with inputs.nixos-hardware.nixosModules; [
common-cpu-intel common-pc-ssd microsoft-surface
common-cpu-intel common-pc-ssd #microsoft-surface
];
fileSystems = {
@@ -60,6 +60,7 @@
boot = {
kernelParams = [ "mem_sleep_default=deep" "kernel.nmi_watchdog=0" "vm.dirty_writeback_centisecs=1500" ];
kernelPackages = with pkgs; linuxPackagesFor (ostylk-home.packages.x86_64-linux.surface-kernel.override { kernel = kernel_5_16; });
extraModprobeConfig = ''
options i915 enable_fbc=1 enable_rc6=1 modeset=1
options snd_hda_intel power_save=1