From 4845485547da7ff628f26fbcab2fa0d7e5f85074 Mon Sep 17 00:00:00 2001 From: aaron Date: Fri, 2 Oct 2026 22:40:37 +0200 Subject: [PATCH] fix: add proper hardware-configuration for the host --- hosts/krypton/hardware-configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/krypton/hardware-configuration.nix b/hosts/krypton/hardware-configuration.nix index 7b44bf5..10b7825 100644 --- a/hosts/krypton/hardware-configuration.nix +++ b/hosts/krypton/hardware-configuration.nix @@ -21,7 +21,7 @@ "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; + boot.initrd.kernelModules = [ "dm-snapshot" ]; boot.initrd.luks.devices."cryptroot" = { device = "/dev/disk/by-label/nixcrypt"; allowDiscards = true; @@ -54,7 +54,7 @@ { device = "/dev/disk/by-label/nixswap"; } ]; - networking.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + hardware.cpu.intel.npu.enable = true; }