From 87a0152737a0e1febe05fd5564da58d744f39887 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Fri, 29 Mar 2024 12:11:47 +0100 Subject: [PATCH] [systems] updated luks device for itclt75 --- .../itclt75/hardware-configuration.nix | 23 ++++++++----------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/nix/systems/itclt75/hardware-configuration.nix b/nix/systems/itclt75/hardware-configuration.nix index 6924242..dcd533c 100644 --- a/nix/systems/itclt75/hardware-configuration.nix +++ b/nix/systems/itclt75/hardware-configuration.nix @@ -11,34 +11,31 @@ boot.initrd.luks = { devices = { - # encrypted root - "luks-057d6954-2fbe-4566-a0b9-cc7b8a9f9fd8" = { - device = "/dev/disk/by-uuid/057d6954-2fbe-4566-a0b9-cc7b8a9f9fd8"; - }; + # encrypted root + "luks-78011bc3-67ab-49d6-89f5-be5f50a6c013" = { + device = "/dev/disk/by-uuid/78011bc3-67ab-49d6-89f5-be5f50a6c013"; - # encrypted swap - "luks-4dcf40dc-d12c-43e4-8727-687451750f90" = { - device = "/dev/disk/by-uuid/4dcf40dc-d12c-43e4-8727-687451750f90"; }; }; }; # filesystems - boot fileSystems."/boot" = { - device = "/dev/disk/by-uuid/5180-0B5A"; + device = "/dev/disk/by-label/BOOT"; fsType = "vfat"; }; # filesystems - root fileSystems."/" = { - device = "/dev/disk/by-uuid/ad8f83d1-3c00-49cc-90eb-8679d6600ddc"; + device = "/dev/disk/by-label/root"; fsType = "ext4"; }; - # swap device - swapDevices = [{ - device = "/dev/disk/by-uuid/e4772fc5-e676-48e4-9c35-3934e9a178b1"; - }]; + # swap + swapDevices = [ { + device = "/swapfile"; + size = 16384; + } ]; # networking networking.useDHCP = lib.mkDefault true;