nullbox: compress all btrfs mounts
This commit is contained in:
parent
1a168bc1b5
commit
0ed22a1988
@ -14,10 +14,21 @@
|
|||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|
||||||
fileSystems."/ntfs" = {
|
fileSystems = lib.mkMerge [
|
||||||
fsType = "ntfs-3g";
|
{
|
||||||
device = "/dev/disk/by-uuid/6AC23F0FC23EDF4F";
|
"/ntfs" = {
|
||||||
};
|
fsType = "ntfs-3g";
|
||||||
|
device = "/dev/disk/by-uuid/6AC23F0FC23EDF4F";
|
||||||
|
};
|
||||||
|
"/.btrfsroot" = {
|
||||||
|
options = [ "subvol=/" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
(lib.genAttrs [ "/.btrfsroot" "/" "/home" ] ( fs: {
|
||||||
|
options = [ "compress=zstd" ];
|
||||||
|
}))
|
||||||
|
];
|
||||||
|
|
||||||
# nixfiles
|
# nixfiles
|
||||||
nixfiles = {
|
nixfiles = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user