1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-25 19:19:44 +01:00
nixos-hardware/microsoft/surface/old/default.nix

23 lines
464 B
Nix
Raw Normal View History

{ lib, pkgs, ... }:
let
inherit (lib) mkDefault;
in {
imports = [
../common
../surface-go/firmware/ath10k
];
boot.extraModprobeConfig = mkDefault ''
options i915 enable_fbc=1 enable_rc6=1 modeset=1
options snd_hda_intel power_save=1
options snd_ac97_codec power_save=1
options iwlwifi power_save=Y
options iwldvm force_cam=N
'';
microsoft-surface.surface-control.enable = true;
microsoft-surface.ipts.enable = true;
}