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
|
./options.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Select kernel version
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_zen;
|
|
||||||
|
|
||||||
networking.hostName = "surface";
|
networking.hostName = "surface";
|
||||||
|
|
||||||
# Add user to surface control group for surface linux
|
# Add user to surface control group for surface linux
|
||||||
|
@ -32,18 +29,11 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.auto-cpufreq = {
|
services.thermald.enable = true;
|
||||||
enable = true;
|
|
||||||
settings = {
|
microsoft-surface = {
|
||||||
battery = {
|
ipts.enable = true;
|
||||||
governor = "powersaver";
|
surface-control.enable = true;
|
||||||
turbo = "never";
|
|
||||||
};
|
|
||||||
charger = {
|
|
||||||
governor = "performance";
|
|
||||||
turbo = "auto";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
./devices/surface
|
./devices/surface
|
||||||
|
nixos-hardware.nixosModules.microsoft-surface-pro-intel
|
||||||
] ++ clientModules;
|
] ++ clientModules;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue