From ff651ab901fdbc9a95f2768794ccd0b468facf70 Mon Sep 17 00:00:00 2001 From: tdpeuter Date: Tue, 11 Apr 2023 18:06:58 +0200 Subject: [PATCH] Use disklabels --- nixos/hosts/Tibo-NixDesk/hardware-configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/hosts/Tibo-NixDesk/hardware-configuration.nix b/nixos/hosts/Tibo-NixDesk/hardware-configuration.nix index 254af31..826c7bc 100644 --- a/nixos/hosts/Tibo-NixDesk/hardware-configuration.nix +++ b/nixos/hosts/Tibo-NixDesk/hardware-configuration.nix @@ -14,12 +14,12 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/5e4bacff-07fb-4d3a-8ac6-d535c913659b"; + { device = "/dev/disk/by-label/NIXROOT"; fsType = "ext4"; }; fileSystems."/boot/efi" = - { device = "/dev/disk/by-uuid/4D30-B01D"; + { device = "/dev/disk/by-label/NIXBOOT"; fsType = "vfat"; };