using surface-linux kernel again

This commit is contained in:
twoneis 2024-02-18 17:39:28 +01:00
parent e1850a9410
commit 94749662b7
2 changed files with 6 additions and 15 deletions

View file

@ -4,9 +4,6 @@
./options.nix
];
# Select kernel version
boot.kernelPackages = pkgs.linuxPackages_zen;
networking.hostName = "surface";
# Add user to surface control group for surface linux
@ -32,18 +29,11 @@
];
};
services.auto-cpufreq = {
enable = true;
settings = {
battery = {
governor = "powersaver";
turbo = "never";
};
charger = {
governor = "performance";
turbo = "auto";
};
};
services.thermald.enable = true;
microsoft-surface = {
ipts.enable = true;
surface-control.enable = true;
};
# This value determines the NixOS release from which the default

View file

@ -36,6 +36,7 @@
system = "x86_64-linux";
modules = [
./devices/surface
nixos-hardware.nixosModules.microsoft-surface-pro-intel
] ++ clientModules;
};