NixOSConfig/lib/hardware/surface.nix

18 lines
280 B
Nix
Raw Normal View History

2024-05-21 08:40:54 +00:00
{ pkgs, ... }: {
2024-05-21 08:40:34 +00:00
config = {
services = {
auto-cpufreq.enable = true;
thermald.enable = true;
};
2024-05-21 08:40:54 +00:00
boot.initrd.kernelModules = [
"pinctrl_sunrisepoint"
"surface_dtx"
];
2024-05-21 08:40:54 +00:00
environment.systemPackages = [
pkgs.libcamera
];
2024-05-21 08:40:34 +00:00
};
}