From 43f6d554541a3064621cf7cb479fc085a33fe284 Mon Sep 17 00:00:00 2001 From: NullBite Date: Thu, 20 Jun 2024 03:30:04 -0400 Subject: [PATCH] pi4: normalize hardware configuration --- hosts/pi4/hardware-configuration.nix | 44 +++++++++++++--------------- 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/hosts/pi4/hardware-configuration.nix b/hosts/pi4/hardware-configuration.nix index 63b8984..8aaa767 100644 --- a/hosts/pi4/hardware-configuration.nix +++ b/hosts/pi4/hardware-configuration.nix @@ -13,33 +13,28 @@ boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; - # fileSystems."/" = - # { device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888"; - # fsType = "ext4"; - # }; + fileSystems."/" = + { device = "/dev/disk/by-uuid/112535b6-4318-4d26-812b-7baf0d65dae5"; + fsType = "btrfs"; + options = [ "subvol=nixos/@" ]; + }; - fileSystems."/nix" = { - device = "/dev/disk/by-label/NIXOS_BTRFS"; - fsType = "btrfs"; - options = [ "subvol=/nixos/@nix" ]; - }; + fileSystems."/nix" = + { device = "/dev/disk/by-uuid/112535b6-4318-4d26-812b-7baf0d65dae5"; + fsType = "btrfs"; + options = [ "subvol=nixos/@nix" ]; + }; - fileSystems."/" = { - device = "/dev/disk/by-label/NIXOS_BTRFS"; - fsType = "btrfs"; - options = [ "subvol=/nixos/@" ]; - }; + fileSystems."/home" = + { device = "/dev/disk/by-uuid/112535b6-4318-4d26-812b-7baf0d65dae5"; + fsType = "btrfs"; + options = [ "subvol=@home" ]; + }; - fileSystems."/home" = { - device = "/dev/disk/by-label/NIXOS_BTRFS"; - fsType = "btrfs"; - options = [ "subvol=/@home" ]; - }; - - fileSystems."/boot" = { - device = "/dev/disk/by-label/NIXOS_BOOT"; - fsType = "ext4"; - }; + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/18e0dfd8-78bd-478d-9df8-1c28bc0b55df"; + fsType = "ext4"; + }; swapDevices = [ ]; @@ -53,3 +48,4 @@ nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux"; } +