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,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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue