diff --git a/README.md b/README.md index 9503c1e..1acfe19 100644 --- a/README.md +++ b/README.md @@ -140,6 +140,7 @@ See code for all available configurations. | [Lenovo ThinkPad T490](lenovo/thinkpad/t490) | `` | | [Lenovo ThinkPad T495](lenovo/thinkpad/t495) | `` | | [Lenovo ThinkPad T550](lenovo/thinkpad/t550) | `` | +| [Lenovo ThinkPad X1 Yoga](lenovo/thinkpad/x1/yoga) | `` | | [Lenovo ThinkPad X1 (6th Gen)](lenovo/thinkpad/x1/6th-gen) | `` | | [Lenovo ThinkPad X1 (7th Gen)](lenovo/thinkpad/x1/7th-gen) | `` | | [Lenovo ThinkPad X1 (9th Gen)](lenovo/thinkpad/x1/9th-gen) | `` | diff --git a/flake.nix b/flake.nix index a6b05aa..68ff720 100644 --- a/flake.nix +++ b/flake.nix @@ -80,6 +80,7 @@ lenovo-thinkpad-t495 = import ./lenovo/thinkpad/t495; lenovo-thinkpad-t550 = import ./lenovo/thinkpad/t550; lenovo-thinkpad-x1 = import ./lenovo/thinkpad/x1; + lenovo-thinkpad-x1-yoga = import ./lenovo/thinkpad/x1/yoga; 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-9th-gen = import ./lenovo/thinkpad/x1/9th-gen; diff --git a/lenovo/thinkpad/x1/yoga/default.nix b/lenovo/thinkpad/x1/yoga/default.nix new file mode 100644 index 0000000..dfabfd4 --- /dev/null +++ b/lenovo/thinkpad/x1/yoga/default.nix @@ -0,0 +1,8 @@ +{ config, lib, ... }: { + imports = [ + ../. + ../../yoga.nix + ]; + + services.xserver.wacom.enable = lib.mkDefault config.services.xserver.enable; +}