hosts/Infini-FRAMEWORK: refactor to store uuid

This commit is contained in:
Infinidoge 2021-12-09 14:20:15 -05:00
parent d280ff4ceb
commit 381c76641f

View file

@ -16,7 +16,11 @@ in
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems = {
fileSystems =
let
main = uuid "a44af0ff-5667-465d-b80a-1934d1aab8d9";
in
{
"/" = {
device = "none";
fsType = "tmpfs";
@ -24,21 +28,21 @@ in
};
"/persist" = {
device = uuid "a44af0ff-5667-465d-b80a-1934d1aab8d9";
device = main;
fsType = "btrfs";
options = [ "subvol=root" "autodefrag" "noatime" "ssd" ];
neededForBoot = true;
};
"/nix" = {
device = uuid "a44af0ff-5667-465d-b80a-1934d1aab8d9";
device = main;
fsType = "btrfs";
options = [ "subvol=nix" "autodefrag" "noatime" "ssd" ];
neededForBoot = true;
};
"/boot" = {
device = uuid "a44af0ff-5667-465d-b80a-1934d1aab8d9";
device = main;
fsType = "btrfs";
options = [ "subvol=boot" "autodefrag" "noatime" "ssd" ];
neededForBoot = true;