diff --git a/machines/loki/configuration.nix b/machines/loki/configuration.nix index ed03128..f4c6a26 100644 --- a/machines/loki/configuration.nix +++ b/machines/loki/configuration.nix @@ -5,6 +5,7 @@ in { imports = [ nixos-hardware.nixosModules.common-cpu-amd + nixos-hardware.nixosModules.common-cpu-amd-pstate nixos-hardware.nixosModules.common-gpu-amd nixos-hardware.nixosModules.common-pc-ssd @@ -158,6 +159,12 @@ in openFirewall = true; }; + powerManagement.powerUpCommands = '' + ${pkgs.powertop}/bin/powertop --auto-tune + echo 'on' > /sys/bus/usb/devices/5-4.2/power/control # Logitech G502 HERO SE + echo 'on' > /sys/bus/usb/devices/5-4.1/power/control # splitkb Kyria rev1 + ''; + services.nfs.server = { enable = true; exports = ''