slab: enable compression on btrfs partitions
This commit is contained in:
parent
8e3ce58551
commit
0975f7be18
@ -8,10 +8,21 @@
|
||||
{
|
||||
# nix.settings.experimental-features = ["nix-command" "flakes" ];
|
||||
|
||||
fileSystems."/ntfs" = {
|
||||
fsType = "ntfs-3g";
|
||||
device = "/dev/disk/by-uuid/028A49020517BEA9";
|
||||
};
|
||||
fileSystems = lib.mkMerge [
|
||||
{
|
||||
"/ntfs" = {
|
||||
fsType = "ntfs-3g";
|
||||
device = "/dev/disk/by-uuid/028A49020517BEA9";
|
||||
};
|
||||
"/.btrfsroot" = {
|
||||
options = [ "subvol=/" ];
|
||||
};
|
||||
}
|
||||
|
||||
(lib.genAttrs [ "/" "/home" "/nix" ] ( fs: {
|
||||
options = [ "compress=zstd" ];
|
||||
}))
|
||||
];
|
||||
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
|
Loading…
x
Reference in New Issue
Block a user