NixOSConfig/lib/hardware/surface.nix

17 lines
280 B
Nix

{ pkgs, ... }: {
config = {
services = {
auto-cpufreq.enable = true;
thermald.enable = true;
};
boot.initrd.kernelModules = [
"pinctrl_sunrisepoint"
"surface_dtx"
];
environment.systemPackages = [
pkgs.libcamera
];
};
}