From 3db0b3794805b075b0d771771f50af4e43e7a3f4 Mon Sep 17 00:00:00 2001 From: Sebastian Schulze Date: Tue, 14 Nov 2023 13:28:24 +0100 Subject: [PATCH] [nix] Remove obsolete crypted.device and sleep 1 second on boot --- dot_config/nixos/host-flaki.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot_config/nixos/host-flaki.nix b/dot_config/nixos/host-flaki.nix index 53274fe..9dece5d 100644 --- a/dot_config/nixos/host-flaki.nix +++ b/dot_config/nixos/host-flaki.nix @@ -8,8 +8,8 @@ boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "usb_storage" "usbhid" "sd_mod" ]; boot.initrd.kernelModules = [ "dm-snapshot" ]; - boot.initrd.luks.devices.crypted.device = "/dev/disk/by-uuid/1786c83d-16de-4a83-bedc-dd2606b6eccc"; + boot.initrd.preLVMCommands = lib.mkOrder 400 "sleep 1"; services.scanberry.enable = true; hardware.sane.enable = true;