all repos — nixfiles @ 88c736623897176d77f8d2fb72013e17b5568650

System and user configuration, managed by nix and home-manager

prefect: switch to AMD

Alan Pearce
commit

88c736623897176d77f8d2fb72013e17b5568650

parent

3a38529dd013db1eb102db447005f7b85834bbb2

2 files changed, 9 insertions(+), 5 deletions(-)

jump to
M system/prefect.nixsystem/prefect.nix
@@ -3,7 +3,7 @@
{ imports = [ ./hardware-configuration.nix <nixos-hardware/common/pc/ssd> - <nixos-hardware/common/cpu/intel> + <nixos-hardware/common/cpu/amd> ./settings/satoshipay.nix ./settings/base.nix
@@ -29,6 +29,8 @@ ./settings/gaming.nix
./settings/programs/tor.nix ./settings/programs/barrier.nix ]; + hardware.cpu.amd.updateMicrocode = true; + services.xserver.screenSection = '' Option "MetaModes" "2560x1440_120 +0+0 { ForceFullCompositionPipeline = On }" Option "AllowIndirectGLXProtocol" "off"
@@ -36,6 +38,11 @@ Option "TripleBuffer" "on"
''; boot.loader.timeout = 3; boot.loader.grub.default = 2; # Default to Windows + + boot.kernelPackages = (import <nixos-unstable> { config = config.nixpkgs.config; }).linuxPackages_5_10; + boot.extraModulePackages = with config.boot.kernelPackages; [ + zenpower + ]; fileSystems."/data" = { label = "Data";
@@ -86,8 +93,7 @@ hide files = desktop.ini
''; }; - powerManagement.enable = false; - powerManagement.cpuFreqGovernor = "performance"; + powerManagement.cpuFreqGovernor = "schedutil"; networking = { hostName = "prefect"; };
M system/settings/hardware/bare-metal.nixsystem/settings/hardware/bare-metal.nix
@@ -9,8 +9,6 @@ pciutils
usbutils ]; - hardware.cpu.intel.updateMicrocode = true; - boot.kernel.sysctl = { "net.ipv4.tcp_allowed_congestion_control" = "illinois reno lp"; "net.ipv4.tcp_congestion_control" = "illinois";