mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-23 10:09:44 +01:00
Create model specialisation for MS Surface Go
This commit is contained in:
parent
36f3e30fff
commit
210e621c62
1 changed files with 18 additions and 0 deletions
18
microsoft/surface/surface-go/default.nix
Normal file
18
microsoft/surface/surface-go/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkDefault mkEnableOption mkIf mkMerge;
|
||||
in {
|
||||
imports = [
|
||||
../common
|
||||
./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
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue