diff --git a/nix/configuration/hosts/odo/power_management.nix b/nix/configuration/hosts/odo/power_management.nix index 0973577..4668d74 100644 --- a/nix/configuration/hosts/odo/power_management.nix +++ b/nix/configuration/hosts/odo/power_management.nix @@ -48,4 +48,12 @@ "w- /sys/devices/system/cpu/cpufreq/policy14/energy_performance_preference - - - - power" "w- /sys/devices/system/cpu/cpufreq/policy15/energy_performance_preference - - - - power" ]; + + boot.extraModprobeConfig = '' + # Disable the hardware watchdog inside AMD 700 chipset series for power savings. + blacklist sp5100_tco + + # Sound power-saving was causing chat notifications to be inaudible. + # options snd_hda_intel power_save=1 + ''; } diff --git a/nix/configuration/roles/network/default.nix b/nix/configuration/roles/network/default.nix index e77582c..5a00641 100644 --- a/nix/configuration/roles/network/default.nix +++ b/nix/configuration/roles/network/default.nix @@ -26,7 +26,7 @@ ]; services.resolved = { enable = true; - dnssec = "true"; + # dnssec = "true"; domains = [ "~." ]; fallbackDns = [ ]; dnsovertls = "true"; @@ -61,4 +61,9 @@ ldns # for drill arp-scan # To find devices on the network ]; + + boot.extraModprobeConfig = '' + # Set wifi to US + options cfg80211 ieee80211_regdom=US + ''; }