From f08cf2d7f7d48e97ba13e5554a9b0802a35fd080 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 1 Jul 2021 14:03:59 +0200 Subject: [PATCH] lenovo/thinkpad: #283 Use directory instead of file --- README.md | 4 ++-- flake.nix | 4 ++-- lenovo/thinkpad/l13/{yoga.nix => yoga/default.nix} | 4 ++-- lenovo/thinkpad/x13/{yoga.nix => yoga/default.nix} | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) rename lenovo/thinkpad/l13/{yoga.nix => yoga/default.nix} (88%) rename lenovo/thinkpad/x13/{yoga.nix => yoga/default.nix} (87%) diff --git a/README.md b/README.md index 98609ab..94bc34a 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ See code for all available configurations. | [Lenovo ThinkPad E470](lenovo/thinkpad/e470) | `` | | [Lenovo ThinkPad E495](lenovo/thinkpad/e495) | `` | | [Lenovo ThinkPad L13](lenovo/thinkpad/l13) | `` | -| [Lenovo ThinkPad L13 Yoga](lenovo/thinkpad/l13/yoga.nix) | `` | +| [Lenovo ThinkPad L13 Yoga](lenovo/thinkpad/l13/yoga) | `` | | [Lenovo ThinkPad L14 (Intel)](lenovo/thinkpad/l14/intel) | `` | | [Lenovo ThinkPad L14 (AMD)](lenovo/thinkpad/l14/amd) | `` | | [Lenovo ThinkPad P1](thinkpad/p1) | `` | @@ -125,7 +125,7 @@ See code for all available configurations. | [Lenovo ThinkPad T480s](lenovo/thinkpad/t480s) | `` | | [Lenovo ThinkPad T490](lenovo/thinkpad/t490) | `` | | [Lenovo ThinkPad T495](lenovo/thinkpad/t495) | `` | -| [Lenovo ThinkPad X13 Yoga](lenovo/thinkpad/x13/yoga.nix) | `` | +| [Lenovo ThinkPad X13 Yoga](lenovo/thinkpad/x13/yoga) | `` | | [Lenovo ThinkPad X140e](lenovo/thinkpad/x140e) | `` | | [Lenovo ThinkPad X200s](lenovo/thinkpad/x200s) | `` | | [Lenovo ThinkPad X220](lenovo/thinkpad/x220) | `` | diff --git a/flake.nix b/flake.nix index 67349b3..b0b93f2 100644 --- a/flake.nix +++ b/flake.nix @@ -37,7 +37,7 @@ lenovo-thinkpad-e470 = import ./lenovo/thinkpad/e470; lenovo-thinkpad-e495 = import ./lenovo/thinkpad/e495; lenovo-thinkpad-l13 = import ./lenovo/thinkpad/l13; - lenovo-thinkpad-l13-yoga = import ./lenovo/thinkpad/l13-yoga/yoga.nix; + lenovo-thinkpad-l13-yoga = import ./lenovo/thinkpad/l13-yoga/yoga; lenovo-thinkpad-l14-intel = import ./lenovo/thinkpad/l14/intel; lenovo-thinkpad-l14-amd = import ./lenovo/thinkpad/l14/amd; lenovo-thinkpad-p1 = import ./lenovo/thinkpad/p1; @@ -74,7 +74,7 @@ lenovo-thinkpad-x1-extreme = import ./lenovo/thinkpad/x1-extreme; lenovo-thinkpad-x1-extreme-gen2 = import ./lenovo/thinkpad/x1-extreme/gen2; lenovo-thinkpad-x13 = import ./lenovo/thinkpad/x13; - lenovo-thinkpad-x13-yoga = import ./lenovo/thinkpad/x13/yoga.nix; + lenovo-thinkpad-x13-yoga = import ./lenovo/thinkpad/x13/yoga; microsoft-surface = import ./microsoft/surface; microsoft-surface-pro-3 = import ./microsoft/surface-pro/3; pcengines-apu = import ./pcengines/apu; diff --git a/lenovo/thinkpad/l13/yoga.nix b/lenovo/thinkpad/l13/yoga/default.nix similarity index 88% rename from lenovo/thinkpad/l13/yoga.nix rename to lenovo/thinkpad/l13/yoga/default.nix index fb11aac..3fb6f16 100644 --- a/lenovo/thinkpad/l13/yoga.nix +++ b/lenovo/thinkpad/l13/yoga/default.nix @@ -1,8 +1,8 @@ { nixos, lib, pkgs, config, stdenv, ... }: { imports = [ - ./. - ../yoga.nix + ../. + ../../yoga.nix ]; services.xserver.wacom.enable = lib.mkDefault config.services.xserver.enable; diff --git a/lenovo/thinkpad/x13/yoga.nix b/lenovo/thinkpad/x13/yoga/default.nix similarity index 87% rename from lenovo/thinkpad/x13/yoga.nix rename to lenovo/thinkpad/x13/yoga/default.nix index 00a962b..dfabfd4 100644 --- a/lenovo/thinkpad/x13/yoga.nix +++ b/lenovo/thinkpad/x13/yoga/default.nix @@ -1,7 +1,7 @@ { config, lib, ... }: { imports = [ - ./. - ../yoga.nix + ../. + ../../yoga.nix ]; services.xserver.wacom.enable = lib.mkDefault config.services.xserver.enable;