pi4: normalize hardware configuration

This commit is contained in:
NullBite 2024-06-20 03:30:04 -04:00
parent a04b6ff6a4
commit 43f6d55454
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -13,33 +13,28 @@
boot.kernelModules = [ ]; boot.kernelModules = [ ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
# fileSystems."/" = fileSystems."/" =
# { device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888"; { device = "/dev/disk/by-uuid/112535b6-4318-4d26-812b-7baf0d65dae5";
# fsType = "ext4"; fsType = "btrfs";
# }; options = [ "subvol=nixos/@" ];
};
fileSystems."/nix" = { fileSystems."/nix" =
device = "/dev/disk/by-label/NIXOS_BTRFS"; { device = "/dev/disk/by-uuid/112535b6-4318-4d26-812b-7baf0d65dae5";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=/nixos/@nix" ]; options = [ "subvol=nixos/@nix" ];
}; };
fileSystems."/" = { fileSystems."/home" =
device = "/dev/disk/by-label/NIXOS_BTRFS"; { device = "/dev/disk/by-uuid/112535b6-4318-4d26-812b-7baf0d65dae5";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=/nixos/@" ]; options = [ "subvol=@home" ];
}; };
fileSystems."/home" = { fileSystems."/boot" =
device = "/dev/disk/by-label/NIXOS_BTRFS"; { device = "/dev/disk/by-uuid/18e0dfd8-78bd-478d-9df8-1c28bc0b55df";
fsType = "btrfs"; fsType = "ext4";
options = [ "subvol=/@home" ]; };
};
fileSystems."/boot" = {
device = "/dev/disk/by-label/NIXOS_BOOT";
fsType = "ext4";
};
swapDevices = [ ]; swapDevices = [ ];
@ -53,3 +48,4 @@
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux"; nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
} }