using surface-linux kernel again
This commit is contained in:
parent
e1850a9410
commit
94749662b7
2 changed files with 6 additions and 15 deletions
|
@ -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
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./devices/surface
|
||||
nixos-hardware.nixosModules.microsoft-surface-pro-intel
|
||||
] ++ clientModules;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue