From 162fb7a9878f8ba190196190f3bb98b599eb2141 Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Sun, 1 May 2022 15:19:58 -0700 Subject: [PATCH] framework: acpilight should be used --- framework/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/framework/default.nix b/framework/default.nix index 31aadd8..ecbbfcb 100644 --- a/framework/default.nix +++ b/framework/default.nix @@ -28,6 +28,11 @@ SUBSYSTEM=="pci", ATTR{vendor}=="0x8086", ATTR{device}=="0xa0e0", ATTR{power/control}="on" ''; + # Mis-detected by nixos-generate-config + # https://github.com/NixOS/nixpkgs/issues/171093 + # https://wiki.archlinux.org/title/Framework_Laptop#Changing_the_brightness_of_the_monitor_does_not_work + hardware.acpilight.enable = lib.mkDefault true; + # HiDPI # Leaving here for documentation # hardware.video.hidpi.enable = lib.mkDefault true;