mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-27 12:09:45 +01:00
Move the last of the code into ./microsoft/common/old
This commit is contained in:
parent
f0835cb45c
commit
ab0c9fe7ce
2 changed files with 23 additions and 13 deletions
|
@ -5,18 +5,6 @@ let
|
|||
|
||||
in {
|
||||
imports = [
|
||||
./common
|
||||
./surface-go/firmware/ath10k
|
||||
./old
|
||||
];
|
||||
|
||||
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;
|
||||
}
|
||||
|
|
22
microsoft/surface/old/default.nix
Normal file
22
microsoft/surface/old/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ 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;
|
||||
}
|
Loading…
Reference in a new issue