about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWinter <78392041+winterqt@users.noreply.github.com>2021-02-02 16:21:59 -0500
committerGitHub <noreply@github.com>2021-02-02 21:21:59 +0000
commitd6a123118152f766cb87983ed60b9a0094fa4306 (patch)
tree1c601f4db41e0bb07ea1124f6a771eed72941571
parenta0d8383c422f85f37fccee5af74b1cb4b52287d9 (diff)
downloadnixlib-d6a123118152f766cb87983ed60b9a0094fa4306.tar
nixlib-d6a123118152f766cb87983ed60b9a0094fa4306.tar.gz
nixlib-d6a123118152f766cb87983ed60b9a0094fa4306.tar.bz2
nixlib-d6a123118152f766cb87983ed60b9a0094fa4306.tar.lz
nixlib-d6a123118152f766cb87983ed60b9a0094fa4306.tar.xz
nixlib-d6a123118152f766cb87983ed60b9a0094fa4306.tar.zst
nixlib-d6a123118152f766cb87983ed60b9a0094fa4306.zip
Add the Microsoft Surface configuration to flakes.nix (#226)
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
-rw-r--r--flake.nix1
-rw-r--r--microsoft/surface-pro/3/default.nix7
2 files changed, 2 insertions, 6 deletions
diff --git a/flake.nix b/flake.nix
index d21d69de19b2..91bed2970e2f 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 a09c60b1f205..4fa8f79a4135 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 ];
 }