From 210e621c62d00bed1e9e4d4839a39ce2e4f4e237 Mon Sep 17 00:00:00 2001 From: mexisme Date: Tue, 10 Jan 2023 17:17:07 +1300 Subject: [PATCH] Create model specialisation for MS Surface Go --- microsoft/surface/surface-go/default.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 microsoft/surface/surface-go/default.nix diff --git a/microsoft/surface/surface-go/default.nix b/microsoft/surface/surface-go/default.nix new file mode 100644 index 0000000..6bfa33b --- /dev/null +++ b/microsoft/surface/surface-go/default.nix @@ -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 + ''; +}