From 0aec2c92d993a58781a9296630b5707ed6738d4d Mon Sep 17 00:00:00 2001 From: Lumpiasty Date: Wed, 15 Oct 2025 21:14:31 +0200 Subject: [PATCH] update kernel on gaming-pc --- hosts/gaming-pc.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/hosts/gaming-pc.nix b/hosts/gaming-pc.nix index 2b53a21..067b26b 100644 --- a/hosts/gaming-pc.nix +++ b/hosts/gaming-pc.nix @@ -33,7 +33,7 @@ # Kernel # boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; - boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_12; + boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_17; # Swap zramSwap = { @@ -99,6 +99,18 @@ }; }; + nix.settings.system-features = [ "gccarch-haswell" ]; + + # nixpkgs.hostPlatform = { + # system = "x86_64-linux"; + # gcc.arch = "haswell"; + # gcc.tune = "haswell"; + # }; + + # nixpkgs.overrides = [(self: super: { + # assimp + # })]; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave