From 39e710b4d992b2c3c31af95438f4675910ad5c6f Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sun, 19 Nov 2023 14:14:52 +0100 Subject: [PATCH] desktop: move to ADATA nvme --- hosts/desktop/hardware-configuration.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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"; };