From 1c80e5554cb1f029d576cfee36c8e5cf6ffbe2aa Mon Sep 17 00:00:00 2001 From: Lgmrszd Date: Fri, 31 Jan 2025 01:07:23 +0400 Subject: [PATCH] Move to internal boot partition + attached header --- hosts/laptop/configuration.nix | 1 - hosts/laptop/hardware-configuration.nix | 9 +-------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index d933685..62a734d 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -91,7 +91,6 @@ in boot.initrd.luks.devices = { crypted = { device = "/dev/disk/by-path/pci-0000:02:00.0-nvme-1"; - header = "/dev/disk/by-partuuid/3c43dda3-6a23-7148-add5-84354a28a59e"; preLVM = true; crypttabExtraOpts = [ "fido2-device=auto" "token-timeout=10s" ]; # fido2.credential = ""; diff --git a/hosts/laptop/hardware-configuration.nix b/hosts/laptop/hardware-configuration.nix index 6f95ff8..387c040 100644 --- a/hosts/laptop/hardware-configuration.nix +++ b/hosts/laptop/hardware-configuration.nix @@ -37,15 +37,8 @@ in }; fileSystems."/boot" = - { device = "/dev/disk/by-label/boot"; + { device = "/dev/disk/by-uuid/12CE-A600"; fsType = "vfat"; - options = [ - "noauto" - # "x-systemd.automount" - # "x-systemd.idle-timeout=1min" - # "x-systemd.device-timeout=1s" - # "x-systemd.mount-timeout=5s" - ]; }; swapDevices =