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" ];
|
# nix.settings.experimental-features = ["nix-command" "flakes" ];
|
||||||
|
|
||||||
fileSystems."/ntfs" = {
|
fileSystems = lib.mkMerge [
|
||||||
fsType = "ntfs-3g";
|
{
|
||||||
device = "/dev/disk/by-uuid/028A49020517BEA9";
|
"/ntfs" = {
|
||||||
};
|
fsType = "ntfs-3g";
|
||||||
|
device = "/dev/disk/by-uuid/028A49020517BEA9";
|
||||||
|
};
|
||||||
|
"/.btrfsroot" = {
|
||||||
|
options = [ "subvol=/" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
(lib.genAttrs [ "/" "/home" "/nix" ] ( fs: {
|
||||||
|
options = [ "compress=zstd" ];
|
||||||
|
}))
|
||||||
|
];
|
||||||
|
|
||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user