From 4be60d79f7269b9c7ebca9b46b1f117c7c0d938a Mon Sep 17 00:00:00 2001 From: Andre Date: Mon, 30 Dec 2024 21:56:24 +0000 Subject: [PATCH] Hevana: update to Zen kernel, install treefmt --- modules/nixos/system/default.nix | 1 + systems/x86_64-linux/Hevana/hardware-configuration.nix | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/nixos/system/default.nix b/modules/nixos/system/default.nix index a2bcd3f..521a547 100644 --- a/modules/nixos/system/default.nix +++ b/modules/nixos/system/default.nix @@ -36,6 +36,7 @@ in home-manager openssh sudo + treefmt2 xz.bin # Packages required for decrypting config files transcrypt diff --git a/systems/x86_64-linux/Hevana/hardware-configuration.nix b/systems/x86_64-linux/Hevana/hardware-configuration.nix index 48f9011..aa78f73 100644 --- a/systems/x86_64-linux/Hevana/hardware-configuration.nix +++ b/systems/x86_64-linux/Hevana/hardware-configuration.nix @@ -1,5 +1,10 @@ # Minisforum UM340 -{ modulesPath, namespace, ... }: +{ + modulesPath, + namespace, + pkgs, + ... +}: let bootUUID = "D2E7-FE8F"; # The UUID of the boot partition. luksUUID = "7b9c756c-ba9d-43fc-b935-7c77a70f5f1b"; # The UUID of the locked LUKS partition. @@ -8,6 +13,7 @@ in imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot = { + kernelPackages = pkgs.linuxKernel.packages.linux_zen; kernelModules = [ "kvm-amd" ]; initrd.kernelModules = [