nullbox: convert /nix to separate subvolume
This commit is contained in:
parent
f33433cced
commit
2ba9f5fe01
hosts/nullbox
@ -25,7 +25,7 @@
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
(lib.genAttrs [ "/.btrfsroot" "/" "/home" ] ( fs: {
|
(lib.genAttrs [ "/.btrfsroot" "/" "/home" "/nix" ] ( fs: {
|
||||||
options = [ "compress=zstd" ];
|
options = [ "compress=zstd" ];
|
||||||
}))
|
}))
|
||||||
];
|
];
|
||||||
|
@ -19,6 +19,12 @@
|
|||||||
options = [ "subvol=nixos/@root" ];
|
options = [ "subvol=nixos/@root" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/nix" =
|
||||||
|
{ device = "/dev/disk/by-uuid/e36d1ab4-d18b-434e-80b5-0efca0652eb5";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=nixos/@nix" ];
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems."/.btrfsroot" =
|
fileSystems."/.btrfsroot" =
|
||||||
{ device = "/dev/disk/by-uuid/e36d1ab4-d18b-434e-80b5-0efca0652eb5";
|
{ device = "/dev/disk/by-uuid/e36d1ab4-d18b-434e-80b5-0efca0652eb5";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user