feature: add new host krypton #86

Merged
aaron merged 3 commits from feature/krypton into main 2026-10-02 23:28:24 +02:00
Showing only changes of commit 4845485547 - Show all commits
+2 -2
View File
@@ -21,7 +21,7 @@
"usb_storage" "usb_storage"
"sd_mod" "sd_mod"
]; ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.initrd.luks.devices."cryptroot" = { boot.initrd.luks.devices."cryptroot" = {
device = "/dev/disk/by-label/nixcrypt"; device = "/dev/disk/by-label/nixcrypt";
allowDiscards = true; allowDiscards = true;
@@ -54,7 +54,7 @@
{ device = "/dev/disk/by-label/nixswap"; } { device = "/dev/disk/by-label/nixswap"; }
]; ];
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.cpu.intel.npu.enable = true;
} }