From d6a123118152f766cb87983ed60b9a0094fa4306 Mon Sep 17 00:00:00 2001 From: Winter <78392041+winterqt@users.noreply.github.com> Date: Tue, 2 Feb 2021 16:21:59 -0500 Subject: [PATCH] Add the Microsoft Surface configuration to flakes.nix (#226) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jörg Thalheim --- flake.nix | 1 + microsoft/surface-pro/3/default.nix | 7 +------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index d21d69d..91bed29 100644 --- a/flake.nix +++ b/flake.nix @@ -61,6 +61,7 @@ lenovo-thinkpad-x1-6th-gen = import ./lenovo/thinkpad/x1/6th-gen; lenovo-thinkpad-x1-7th-gen = import ./lenovo/thinkpad/x1/7th-gen; lenovo-thinkpad-x1-extreme = import ./lenovo/thinkpad/x1-extreme; + microsoft-surface = import ./microsoft/surface; microsoft-surface-pro-3 = import ./microsoft/surface-pro/3; pcengines-apu = import ./pcengines/apu; raspberry-pi-2 = import ./raspberry-pi/2; diff --git a/microsoft/surface-pro/3/default.nix b/microsoft/surface-pro/3/default.nix index a09c60b..4fa8f79 100644 --- a/microsoft/surface-pro/3/default.nix +++ b/microsoft/surface-pro/3/default.nix @@ -1,9 +1,4 @@ { lib, ... }: - { - # to use the type cover in the initrd - boot.kernelModules = [ "hid-microsoft" ]; - - # TODO: reverse compat - networking.wireless.enable = lib.mkDefault true; + imports = [ ../../surface ]; }