From 241918bfc21e434a2a84dd463472d3edb0400d0a Mon Sep 17 00:00:00 2001 From: Sweetbread Date: Wed, 9 Oct 2024 22:09:12 +0300 Subject: [PATCH] BREAKING: Replace disk paths --- nixos/hosts/Rias/hardware-configuration.nix | 10 +++++----- nixos/hosts/Senko/hardware-configuration.nix | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/nixos/hosts/Rias/hardware-configuration.nix b/nixos/hosts/Rias/hardware-configuration.nix index 4751c0a..6a27162 100644 --- a/nixos/hosts/Rias/hardware-configuration.nix +++ b/nixos/hosts/Rias/hardware-configuration.nix @@ -12,20 +12,20 @@ boot.extraModulePackages = [ ]; fileSystems."/" = { - device = "/dev/disk/by-uuid/c32a41f3-f084-44ea-ac52-179a3bc44bbf"; + device = "/dev/disk/by-label/NixOS"; fsType = "ext4"; }; fileSystems."/boot" = { - device = "/dev/disk/by-uuid/F3A3-D76B"; + device = "/dev/disk/by-uuid/0BE3-FC0E"; fsType = "vfat"; - options = [ "fmask=0022" "dmask=0022" ]; + options = [ "fmask=0022" "dmask=0022" "nofail" ]; }; fileSystems."/mnt/D" = { - device = "/dev/disk/by-uuid/EC7C275B7C272036"; + device = "/dev/disk/by-label/Data"; fsType = "ntfs"; - options = ["umask=0022" "gid=100" "uid=1001"]; + options = ["umask=0022" "gid=100" "uid=1000" "nofail" ]; }; swapDevices = [ ]; diff --git a/nixos/hosts/Senko/hardware-configuration.nix b/nixos/hosts/Senko/hardware-configuration.nix index 74e4296..18a2f81 100644 --- a/nixos/hosts/Senko/hardware-configuration.nix +++ b/nixos/hosts/Senko/hardware-configuration.nix @@ -12,20 +12,20 @@ boot.extraModulePackages = [ ]; fileSystems."/" = { - device = "/dev/disk/by-uuid/48ebb252-9212-49e3-a036-501d549477f5"; + device = "/dev/disk/by-label/NixOS"; fsType = "ext4"; }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/D706-818C"; fsType = "vfat"; - options = [ "fmask=0022" "dmask=0022" ]; + options = [ "fmask=0022" "dmask=0022" "nofail" ]; }; fileSystems."/mnt/D" = { - device = "/dev/disk/by-uuid/3234E61E6467EB30"; + device = "/dev/disk/by-label/Data"; fsType = "ntfs"; - options = ["umask=0022" "gid=100" "uid=1000"]; + options = [ "umask=0022" "gid=100" "uid=1000" "nofail" ]; }; swapDevices = [ ];