From f79aa0d5d65bd57f6ffbdc806d10d0a8c0328a27 Mon Sep 17 00:00:00 2001 From: Jurn Wubben Date: Sun, 27 Jul 2025 23:11:24 +0200 Subject: [PATCH] WLUMA: was peaking out cpu usgage via dbus?!? --- hosts/laptop/default.nix | 1 - hosts/laptop/wluma.nix | 31 ------------------------------- 2 files changed, 32 deletions(-) delete mode 100644 hosts/laptop/wluma.nix diff --git a/hosts/laptop/default.nix b/hosts/laptop/default.nix index e417d54..072ace5 100644 --- a/hosts/laptop/default.nix +++ b/hosts/laptop/default.nix @@ -2,7 +2,6 @@ imports = [ ./hardware-configuration.nix ./virt.nix - ./wluma.nix ]; programs.appimage.enable = true; diff --git a/hosts/laptop/wluma.nix b/hosts/laptop/wluma.nix deleted file mode 100644 index 593c1c1..0000000 --- a/hosts/laptop/wluma.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ - hardware.sensor.iio.enable = true; # brightness sensor - home-manager.users.jsw.services.wluma = { - enable = true; - settings = { - als.iio = { - path = "/sys/bus/iio/devices"; - thresholds = { - "0" = "night"; - "10" = "dark"; - "100" = "normal"; - "20" = "dim"; - "200" = "bright"; - "500" = "outdoors"; - }; - }; - output.backlight = [ - { - capturer = "none"; - name = "eDP-1"; - path = "/sys/class/backlight/amdgpu_bl1"; - } - { - capturer = "none"; - name = "keyboard"; - path = "/sys/bus/platform/devices/cros-keyboard-leds.5.auto/leds/chromeos::kbd_backlight"; - } - ]; - }; - }; -}