From ce2c4ef1802af1fba8e2b957cfe33225f6da1b7a Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Fri, 5 Jan 2024 18:02:22 +0100 Subject: [PATCH] epyc: move to latest kernel for snappier performance --- hosts/epyc.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/epyc.nix b/hosts/epyc.nix index 128c2e8..1c79bf2 100644 --- a/hosts/epyc.nix +++ b/hosts/epyc.nix @@ -1,4 +1,4 @@ -{ lib, ... }: +{ lib, pkgs, ... }: let gcc-system-features = arch: lib.optionals (arch != null) ([ "gccarch-${arch}" ] ++ map (x: "gccarch-${x}") lib.systems.architectures.inferiors.${arch}); @@ -20,6 +20,9 @@ in boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + # We want to use EEVDF and AMD-related niceties. + boot.kernelPackages = pkgs.linuxPackages_latest; + # Open public access to our PostgreSQL. services.postgresql.enableTCPIP = true; services.postgresql.authentication = ''