From 784477f82ff7aa318d807bbd836cb4961475ac21 Mon Sep 17 00:00:00 2001 From: Asmir A Date: Fri, 31 May 2024 12:47:06 +0200 Subject: [PATCH] nixy: add luks config --- nixy/hardware-configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixy/hardware-configuration.nix b/nixy/hardware-configuration.nix index 666ad93..48582ea 100644 --- a/nixy/hardware-configuration.nix +++ b/nixy/hardware-configuration.nix @@ -10,6 +10,7 @@ boot.initrd.availableKernelModules = [ "nvme" "ehci_pci" "xhci_pci" "uas" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; boot.initrd.kernelModules = [ "dm-snapshot" ]; + boot.initrd.luks.devices."crypt_dev".device = "/dev/disk/by-uuid/e10821b9-5426-4f03-b716-1645a64fcd6a"; boot.kernelModules = [ "kvm-amd" "amd-gpu" ]; boot.extraModulePackages = [ ];