diff --git a/hosts/desktop/hardware-configuration.nix b/hosts/desktop/hardware-configuration.nix index effb381..9bd23da 100644 --- a/hosts/desktop/hardware-configuration.nix +++ b/hosts/desktop/hardware-configuration.nix @@ -60,43 +60,43 @@ }; fileSystems."/" = - { device = "/dev/disk/by-label/NIXROOT"; + { device = "/dev/disk/by-id/nvme-ADATA_SX8200PNP_2J3320119186-part2"; fsType = "btrfs"; options = [ "compress=zstd,space_cache=v2,ssd,noatime,subvol=@,discard=async" ]; }; fileSystems."/home" = - { device = "/dev/disk/by-label/NIXROOT"; + { device = "/dev/disk/by-id/nvme-ADATA_SX8200PNP_2J3320119186-part2"; fsType = "btrfs"; options = [ "compress=zstd,space_cache=v2,ssd,noatime,subvol=@home,discard=async" ]; }; fileSystems."/srv" = - { device = "/dev/disk/by-label/NIXROOT"; + { device = "/dev/disk/by-id/nvme-ADATA_SX8200PNP_2J3320119186-part2"; fsType = "btrfs"; options = [ "compress=zstd,space_cache=v2,ssd,noatime,subvol=@srv,discard=async" ]; }; fileSystems."/nix" = - { device = "/dev/disk/by-label/NIXROOT"; + { device = "/dev/disk/by-id/nvme-ADATA_SX8200PNP_2J3320119186-part2"; fsType = "btrfs"; options = [ "compress=zstd,space_cache=v2,ssd,noatime,subvol=@nix,discard=async" ]; }; fileSystems."/swap" = - { device = "/dev/disk/by-label/NIXROOT"; + { device = "/dev/disk/by-id/nvme-ADATA_SX8200PNP_2J3320119186-part2"; fsType = "btrfs"; options = [ "compress=zstd,space_cache=v2,ssd,noatime,subvol=@swap,discard=async" ]; }; fileSystems."/mnt/snapshots/root" = - { device = "/dev/disk/by-label/NIXROOT"; + { device = "/dev/disk/by-id/nvme-ADATA_SX8200PNP_2J3320119186-part2"; fsType = "btrfs"; options = [ "compress=zstd,space_cache=v2,ssd,noatime,subvolid=5,discard=async" ]; }; fileSystems."/boot" = - { device = "/dev/disk/by-label/NIXBOOT"; + { device = "/dev/disk/by-id/nvme-ADATA_SX8200PNP_2J3320119186-part1"; fsType = "vfat"; };