diff --git a/nix/configuration/hosts/neelix/default.nix b/nix/configuration/hosts/neelix/default.nix index b3b0443..926d60c 100644 --- a/nix/configuration/hosts/neelix/default.nix +++ b/nix/configuration/hosts/neelix/default.nix @@ -5,8 +5,6 @@ ./disk-config.nix ./optimized_build.nix ./power_management.nix - ./screen_brightness.nix - ./wifi.nix ]; # Generate with `head -c4 /dev/urandom | od -A none -t x4` diff --git a/nix/configuration/hosts/neelix/power_management.nix b/nix/configuration/hosts/neelix/power_management.nix index 99bdbe2..c63a7a9 100644 --- a/nix/configuration/hosts/neelix/power_management.nix +++ b/nix/configuration/hosts/neelix/power_management.nix @@ -20,24 +20,13 @@ "nowatchdog" ]; + # default performance balance_performance balance_power power + # defaults to balance_performance # systemd.tmpfiles.rules = [ - # "w- /sys/firmware/acpi/platform_profile - - - - low-power" # "w- /sys/devices/system/cpu/cpufreq/policy0/energy_performance_preference - - - - power" # "w- /sys/devices/system/cpu/cpufreq/policy1/energy_performance_preference - - - - power" # "w- /sys/devices/system/cpu/cpufreq/policy2/energy_performance_preference - - - - power" # "w- /sys/devices/system/cpu/cpufreq/policy3/energy_performance_preference - - - - power" - # "w- /sys/devices/system/cpu/cpufreq/policy4/energy_performance_preference - - - - power" - # "w- /sys/devices/system/cpu/cpufreq/policy5/energy_performance_preference - - - - power" - # "w- /sys/devices/system/cpu/cpufreq/policy6/energy_performance_preference - - - - power" - # "w- /sys/devices/system/cpu/cpufreq/policy7/energy_performance_preference - - - - power" - # "w- /sys/devices/system/cpu/cpufreq/policy8/energy_performance_preference - - - - power" - # "w- /sys/devices/system/cpu/cpufreq/policy9/energy_performance_preference - - - - power" - # "w- /sys/devices/system/cpu/cpufreq/policy10/energy_performance_preference - - - - power" - # "w- /sys/devices/system/cpu/cpufreq/policy11/energy_performance_preference - - - - power" - # "w- /sys/devices/system/cpu/cpufreq/policy12/energy_performance_preference - - - - power" - # "w- /sys/devices/system/cpu/cpufreq/policy13/energy_performance_preference - - - - power" - # "w- /sys/devices/system/cpu/cpufreq/policy14/energy_performance_preference - - - - power" - # "w- /sys/devices/system/cpu/cpufreq/policy15/energy_performance_preference - - - - power" # ]; boot.extraModprobeConfig = '' diff --git a/nix/configuration/hosts/neelix/screen_brightness.nix b/nix/configuration/hosts/neelix/screen_brightness.nix deleted file mode 100644 index 8314d0e..0000000 --- a/nix/configuration/hosts/neelix/screen_brightness.nix +++ /dev/null @@ -1,14 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: - -{ - imports = [ ]; - - # systemd.tmpfiles.rules = [ - # "w- /sys/class/backlight/amdgpu_bl1/brightness - - - - 85" - # ]; -} diff --git a/nix/configuration/hosts/neelix/wifi.nix b/nix/configuration/hosts/neelix/wifi.nix deleted file mode 100644 index a1c136d..0000000 --- a/nix/configuration/hosts/neelix/wifi.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: - -{ - imports = [ ]; - - # config = { - # environment.loginShellInit = lib.mkIf (!config.me.buildingIso) '' - # doas iw dev wlan0 set power_save off - # ''; - # }; -}