From 432dfa938d96746611dd14856adf52ed039ef4f1 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Sun, 15 Sep 2024 15:14:01 +0200 Subject: [PATCH] flake: add disks by label for easier install process --- hosts/solaire/hardware-configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/solaire/hardware-configuration.nix b/hosts/solaire/hardware-configuration.nix index c29dc69..2ec5f92 100644 --- a/hosts/solaire/hardware-configuration.nix +++ b/hosts/solaire/hardware-configuration.nix @@ -14,12 +14,12 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/7c254bf5-bf22-40c5-812f-72358c69a23d"; + { device = "/dev/disk/by-label/NIXROOT"; fsType = "ext4"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/58CD-A7EA"; + { device = "/dev/disk/by-label/NIXBOOT"; fsType = "vfat"; options = [ "fmask=0077" "dmask=0077" ]; };