From b89e750e4bd7354021f7873f2063c4b18afa183e Mon Sep 17 00:00:00 2001 From: Andrea Ciceri <andrea.ciceri@autistici.org> Date: Fri, 3 Feb 2023 09:27:10 +0100 Subject: [PATCH] `/boot/efi` by uuid for `thinkpad` --- hosts/thinkpad/hardware-configuration.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/hosts/thinkpad/hardware-configuration.nix b/hosts/thinkpad/hardware-configuration.nix index d3e3f6f..c920659 100644 --- a/hosts/thinkpad/hardware-configuration.nix +++ b/hosts/thinkpad/hardware-configuration.nix @@ -53,11 +53,16 @@ }; fileSystems."/boot/efi" = { - device = "/boot/efis/nvme-INTEL_SSDPEKKF010T8L_PHHP938405741P0D-part1"; - fsType = "none"; - options = ["bind"]; + device = "/dev/disk/by-uuid/5C39-390F"; + fsType = "vfat"; }; + # fileSystems."/boot/efi" = { + # device = "/boot/efis/nvme-INTEL_SSDPEKKF010T8L_PHHP938405741P0D-part1"; + # fsType = "none"; + # options = ["bind"]; + # }; + swapDevices = [ {device = "/dev/disk/by-label/swap";} ];