From afc26ee0b4ad4432754f653123e32f1a28189d74 Mon Sep 17 00:00:00 2001 From: EinEtwas Date: Thu, 17 Oct 2024 16:50:28 +0200 Subject: [PATCH] fix: update labels for new install --- modules/hardware-configuration.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/hardware-configuration.nix b/modules/hardware-configuration.nix index f51fae9..b88ea44 100644 --- a/modules/hardware-configuration.nix +++ b/modules/hardware-configuration.nix @@ -14,17 +14,19 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/bef9d47a-b559-4eb7-9b1e-61c82101672c"; + { device = "/dev/disk/by-label/nix-root"; fsType = "ext4"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/D839-54B0"; + { device = "/dev/disk/by-label/EFI"; fsType = "vfat"; options = [ "fmask=0077" "dmask=0077" ]; }; - swapDevices = [ ]; + swapDevices = + [ { device = "/dev/disk/by-label/swap"; } + ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's