From de3ec80522011e938a55c3964d9e1f8826215796 Mon Sep 17 00:00:00 2001 From: mexisme Date: Wed, 11 Jan 2023 02:11:52 +1300 Subject: [PATCH] Add Surface Pro (Intel) --- README.md | 3 ++- flake.nix | 3 ++- microsoft/surface/surface-pro-intel/default.nix | 12 ++++++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 microsoft/surface/surface-pro-intel/default.nix diff --git a/README.md b/README.md index 62d8b84..95ba159 100644 --- a/README.md +++ b/README.md @@ -193,9 +193,10 @@ See code for all available configurations. | [LENOVO Yoga 6 13ALC6 82ND](lenovo/yoga/6/13ALC6) | `` | | [MSI GS60 2QE](msi/gs60) | `` | | [MSI GL62/CX62](msi/gl62) | `` | -| [Microsoft Surface Pro 3](microsoft/surface-pro/3) | `` | | [Microsoft Surface Go](microsoft/surface/surface-go) | `` | +| [Microsoft Surface Pro (Intel)](microsoft/surface/surface-pro-intel)| ``| | [Microsoft Surface Range (Common Modules)](microsoft/surface/common)| `` | +| [Microsoft Surface Pro 3](microsoft/surface-pro/3) | `` | | [Omen en00015p](omen/en00015p) | `` | | [One-Netbook OneNetbook 4](onenetbook/4) | `` | | [Panasonic Let's Note CF-LX4 ](panasonic/letsnote/cf-lx4) | `` | diff --git a/flake.nix b/flake.nix index e5f587e..605d6cd 100644 --- a/flake.nix +++ b/flake.nix @@ -130,8 +130,9 @@ lenovo-thinkpad-z13 = import ./lenovo/thinkpad/z/z13; lenovo-yoga-6-13ALC6 = import ./lenovo/yoga/6/13ALC6; letsnote-cf-lx4 = import ./panasonic/letsnote/cf-lx4; - microsoft-surface-common = import ./microsoft/surface/common; microsoft-surface-go = import ./microsoft/surface/surface-go; + microsoft-surface-pro-intel = import ./microsoft/surface/surface-pro-intel; + microsoft-surface-common = import ./microsoft/surface/common; microsoft-surface-pro-3 = import ./microsoft/surface-pro/3; msi-gs60 = import ./msi/gs60; msi-gl62 = import ./msi/gl62; diff --git a/microsoft/surface/surface-pro-intel/default.nix b/microsoft/surface/surface-pro-intel/default.nix new file mode 100644 index 0000000..6ca5e5e --- /dev/null +++ b/microsoft/surface/surface-pro-intel/default.nix @@ -0,0 +1,12 @@ +{ lib, ... }: + +let + inherit (lib) mkDefault; +in { + imports = [ + ../common + ]; + + microsoft-surface.ipts.enable = true; + microsoft-surface.surface-control.enable = true; +}