From 05f97299666c879bcaca8464f47b7ce4f8ad4834 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Sun, 25 Aug 2024 12:17:29 -0400 Subject: [PATCH] fix(binto): setup swap --- devices/binto/hardware-configuration.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/devices/binto/hardware-configuration.nix b/devices/binto/hardware-configuration.nix index eb1f2960..e97d0fa6 100644 --- a/devices/binto/hardware-configuration.nix +++ b/devices/binto/hardware-configuration.nix @@ -44,20 +44,20 @@ fileSystems = { "/" = { - device = "/dev/disk/by-uuid/560976b6-85e0-44ca-bb73-e15a78e9c449"; + device = "/dev/disk/by-label/NIXROOT"; fsType = "btrfs"; - options = ["subvol=@"]; }; # sudo btrfs subvolume create /@swap "/swap" = { device = "/dev/disk/by-label/NIXROOT"; fsType = "btrfs"; - options = ["subvol=@swap"]; + # Idk why this is the subvol + options = ["subvol=@/@swap"]; }; "/boot" = { - device = "/dev/disk/by-uuid/1407-A10C"; + device = "/dev/disk/by-label/NIXBOOT"; fsType = "vfat"; };