hosts/Infini-FRAMEWORK: refactor to store uuid
This commit is contained in:
parent
d280ff4ceb
commit
381c76641f
1 changed files with 33 additions and 29 deletions
|
@ -16,40 +16,44 @@ in
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems =
|
||||||
"/" = {
|
let
|
||||||
device = "none";
|
main = uuid "a44af0ff-5667-465d-b80a-1934d1aab8d9";
|
||||||
fsType = "tmpfs";
|
in
|
||||||
options = [ "defaults" "size=4G" "mode=755" ];
|
{
|
||||||
};
|
"/" = {
|
||||||
|
device = "none";
|
||||||
|
fsType = "tmpfs";
|
||||||
|
options = [ "defaults" "size=4G" "mode=755" ];
|
||||||
|
};
|
||||||
|
|
||||||
"/persist" = {
|
"/persist" = {
|
||||||
device = uuid "a44af0ff-5667-465d-b80a-1934d1aab8d9";
|
device = main;
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=root" "autodefrag" "noatime" "ssd" ];
|
options = [ "subvol=root" "autodefrag" "noatime" "ssd" ];
|
||||||
neededForBoot = true;
|
neededForBoot = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
"/nix" = {
|
"/nix" = {
|
||||||
device = uuid "a44af0ff-5667-465d-b80a-1934d1aab8d9";
|
device = main;
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=nix" "autodefrag" "noatime" "ssd" ];
|
options = [ "subvol=nix" "autodefrag" "noatime" "ssd" ];
|
||||||
neededForBoot = true;
|
neededForBoot = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
"/boot" = {
|
"/boot" = {
|
||||||
device = uuid "a44af0ff-5667-465d-b80a-1934d1aab8d9";
|
device = main;
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=boot" "autodefrag" "noatime" "ssd" ];
|
options = [ "subvol=boot" "autodefrag" "noatime" "ssd" ];
|
||||||
neededForBoot = true;
|
neededForBoot = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
"/boot/efi" = {
|
"/boot/efi" = {
|
||||||
device = uuid "3FC9-0182";
|
device = uuid "3FC9-0182";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
neededForBoot = true;
|
neededForBoot = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices = [{ device = uuid "28672ffb-9f1c-462b-b49d-8a14b3dd72b3"; }];
|
swapDevices = [{ device = uuid "28672ffb-9f1c-462b-b49d-8a14b3dd72b3"; }];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue