From 55007f1a44f488d6d9deaaa1067977342d4291df Mon Sep 17 00:00:00 2001 From: willifan Date: Thu, 24 Apr 2025 18:15:16 +0200 Subject: [PATCH] removed unused Lenni configurations --- hosts/Lenni/auto-cpufreq.nix | 16 ---------------- hosts/Lenni/backlight.nix | 6 ------ hosts/Lenni/default.nix | 2 -- 3 files changed, 24 deletions(-) delete mode 100644 hosts/Lenni/auto-cpufreq.nix delete mode 100644 hosts/Lenni/backlight.nix diff --git a/hosts/Lenni/auto-cpufreq.nix b/hosts/Lenni/auto-cpufreq.nix deleted file mode 100644 index 8a48773..0000000 --- a/hosts/Lenni/auto-cpufreq.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ ... }: -{ - services.auto-cpufreq = { - enable = true; - settings = { - battery = { - governor = "powersave"; - turbo = "never"; - }; - charger = { - governor = "powersave"; - turbo = "never"; - }; - }; - }; -} diff --git a/hosts/Lenni/backlight.nix b/hosts/Lenni/backlight.nix deleted file mode 100644 index 6db2849..0000000 --- a/hosts/Lenni/backlight.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ pkgs, ... }: -{ - services.udev.extraRules = '' - ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="amdgpu", MODE="0666", RUN+="${pkgs.coreutils}/bin/chmod a+w /sys/class/backlight/%k/brightness" - ''; -} diff --git a/hosts/Lenni/default.nix b/hosts/Lenni/default.nix index c283d16..1646345 100644 --- a/hosts/Lenni/default.nix +++ b/hosts/Lenni/default.nix @@ -1,8 +1,6 @@ { ... }: { imports = [ - #./auto-cpufreq.nix - ./backlight.nix ./hardware-configuration.nix #./disko.nix