mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-18 07:24:10 +01:00
feat: enable btrfs's zstd compression
This commit is contained in:
@@ -62,19 +62,19 @@
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/836b93a9-324f-45e6-ac1d-964becd7520c";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@root" ];
|
||||
options = [ "subvol=@root" "compress-force=zstd:1" ];
|
||||
};
|
||||
|
||||
fileSystems."/nix" =
|
||||
{ device = "/dev/disk/by-uuid/836b93a9-324f-45e6-ac1d-964becd7520c";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@nix" "noatime" ];
|
||||
options = [ "subvol=@nix" "noatime" "compress-force=zstd:1" ];
|
||||
};
|
||||
|
||||
fileSystems."/home" =
|
||||
{ device = "/dev/disk/by-uuid/836b93a9-324f-45e6-ac1d-964becd7520c";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@home" ];
|
||||
options = [ "subvol=@home" "compress-force=zstd:1" ];
|
||||
};
|
||||
|
||||
fileSystems."/swap" =
|
||||
|
||||
Reference in New Issue
Block a user