From c82db46e75024a54d1c9360e9de6af4274990a5a Mon Sep 17 00:00:00 2001 From: Hiram Tanner Date: Sat, 31 Dec 2022 20:46:26 +0900 Subject: [PATCH] Added configuration for panasonic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update panasonic/letsnote/cf-lx4/default.nix Co-authored-by: Jörg Thalheim Added profile to flake.nix --- README.md | 1 + flake.nix | 1 + panasonic/letsnote/cf-lx4/default.nix | 11 +++++++++++ 3 files changed, 13 insertions(+) create mode 100644 panasonic/letsnote/cf-lx4/default.nix diff --git a/README.md b/README.md index ee044bd..5ff1c15 100644 --- a/README.md +++ b/README.md @@ -197,6 +197,7 @@ See code for all available configurations. | [Microsoft Surface Range](microsoft/surface) | `` | | [Omen en00015p](omen/en00015p) | `` | | [One-Netbook OneNetbook 4](onenetbook/4) | `` | +| [Panasonic Let's Note CF-LX4 ](panasonic/letsnote/cf-lx4) | `` | | [PC Engines APU](pcengines/apu) | `` | | [PINE64 Pinebook Pro](pine64/pinebook-pro/) | `` | | [Purism Librem 13v3](purism/librem/13v3) | `` | diff --git a/flake.nix b/flake.nix index 4c8f854..67aeeb4 100644 --- a/flake.nix +++ b/flake.nix @@ -129,6 +129,7 @@ lenovo-thinkpad-z = import ./lenovo/thinkpad/z; 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 = import ./microsoft/surface; microsoft-surface-pro-3 = import ./microsoft/surface-pro/3; msi-gs60 = import ./msi/gs60; diff --git a/panasonic/letsnote/cf-lx4/default.nix b/panasonic/letsnote/cf-lx4/default.nix new file mode 100644 index 0000000..6b96598 --- /dev/null +++ b/panasonic/letsnote/cf-lx4/default.nix @@ -0,0 +1,11 @@ +{ + imports = [ + ../../../common/cpu/intel + ../../../common/pc/laptop + ../../../common/pc/ssd + ]; + + # Force use of the intel_backlight driver for backlight control. + # This allows the backlight save/load systemd service to work. + boot.kernelParams = [ "acpi_backlight=video" ]; +}