From 491632ba9b38863729434981cbeb10f386530de6 Mon Sep 17 00:00:00 2001 From: Sean Kovacs Date: Thu, 29 Jan 2026 20:49:07 -0500 Subject: [PATCH] peach: refactor hardwarre --- hardware/peach/default.nix | 70 ++++++++++++++++++++------------------ 1 file changed, 37 insertions(+), 33 deletions(-) diff --git a/hardware/peach/default.nix b/hardware/peach/default.nix index 549cdc3..54227e6 100644 --- a/hardware/peach/default.nix +++ b/hardware/peach/default.nix @@ -22,46 +22,50 @@ boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; - fileSystems."/" = { - device = "/dev/disk/by-uuid/1fd2c838-5fc7-4d52-ab92-9d9de545021b"; - fsType = "btrfs"; - options = [ - "subvol=root" - "compress=zstd" - ]; - }; + fileSystems = { + "/" = { + label = "nixos"; + fsType = "btrfs"; + options = [ + "subvol=root" + "compress=zstd" + "relatime" + ]; + }; - fileSystems."/home" = { - device = "/dev/disk/by-uuid/1fd2c838-5fc7-4d52-ab92-9d9de545021b"; - fsType = "btrfs"; - options = [ - "subvol=home" - "compress=zstd" - ]; - }; + "/home" = { + label = "nixos"; + fsType = "btrfs"; + options = [ + "subvol=home" + "compress=zstd" + "relatime" + ]; + }; - fileSystems."/nix" = { - device = "/dev/disk/by-uuid/1fd2c838-5fc7-4d52-ab92-9d9de545021b"; - fsType = "btrfs"; - options = [ - "subvol=nix" - "compress=zstd" - "noatime" - ]; - }; + "/nix" = { + label = "nixos"; + fsType = "btrfs"; + options = [ + "subvol=nix" + "compress=zstd" + "noatime" + ]; + }; - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/4039-19F6"; - fsType = "vfat"; - options = [ - "fmask=0022" - "dmask=0022" - ]; + "/boot" = { + label = "efi"; + fsType = "vfat"; + options = [ + "fmask=0022" + "dmask=0022" + ]; + }; }; swapDevices = [ { - device = "/dev/disk/by-uuid/7abc3359-f379-4f7f-9da1-77a81ba748e4"; + label = "swap"; } ];