HASH f803d73b105c
DATE 2025-03-08
SUBJECT btrfs: use compress
FILES 1 CHANGED
HASH f803d73b105c
DATE 2025-03-08
SUBJECT btrfs: use compress
FILES 1 CHANGED
┌─ hosts/ooksdesk/file-system.nix ───────────────────────────────────────────┐
│ diff --git a/hosts/ooksdesk/file-system.nix b/hosts/ooksdesk/file-system.nix │
│ index af8d795..b48f207 100644 │
│ --- a/hosts/ooksdesk/file-system.nix │
│ +++ b/hosts/ooksdesk/file-system.nix │
│ @@ -4,25 +4,25 @@ │
│ "/" = { │
│ device = "/dev/disk/by-uuid/629a7421-24a0-45e6-87af-031574d9d46d"; │
│ fsType = "btrfs"; │
│ - options = ["subvol=root"]; │
│ + options = ["subvol=root" "compress=zstd" "noatime"]; │
│ }; │
│ │
│ "/nix" = { │
│ device = "/dev/disk/by-uuid/629a7421-24a0-45e6-87af-031574d9d46d"; │
│ fsType = "btrfs"; │
│ - options = ["subvol=nix"]; │
│ + options = ["subvol=nix" "compress=zstd" "noatime"]; │
│ }; │
│ │
│ "/persist" = { │
│ device = "/dev/disk/by-uuid/629a7421-24a0-45e6-87af-031574d9d46d"; │
│ fsType = "btrfs"; │
│ - options = ["subvol=persist"]; │
│ + options = ["subvol=persist" "compress=zstd"]; │
│ }; │
│ │
│ "/swap" = { │
│ device = "/dev/disk/by-uuid/629a7421-24a0-45e6-87af-031574d9d46d"; │
│ fsType = "btrfs"; │
│ - options = ["subvol=swap"]; │
│ + options = ["subvol=swap" "noatime"]; │
│ }; │
│ │
│ "/boot" = { │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ hosts/ooksdesk/file-system.nix ─────┐
│ diff --git a/hosts/ooksdesk/file-system.nix │
│ b/hosts/ooksdesk/file-system.nix │
│ index af8d795..b48f207 100644 │
│ --- a/hosts/ooksdesk/file-system.nix │
│ +++ b/hosts/ooksdesk/file-system.nix │
│ @@ -4,25 +4,25 @@ │
│ "/" = { │
│ device = "/dev/disk/by-uuid/629a7421- │
│ 24a0-45e6-87af-031574d9d46d"; │
│ fsType = "btrfs"; │
│ - options = ["subvol=root"]; │
│ + options = ["subvol=root" "compress=zs │
│ td" "noatime"]; │
│ }; │
│ │
│ "/nix" = { │
│ device = "/dev/disk/by-uuid/629a7421- │
│ 24a0-45e6-87af-031574d9d46d"; │
│ fsType = "btrfs"; │
│ - options = ["subvol=nix"]; │
│ + options = ["subvol=nix" "compress=zst │
│ d" "noatime"]; │
│ }; │
│ │
│ "/persist" = { │
│ device = "/dev/disk/by-uuid/629a7421- │
│ 24a0-45e6-87af-031574d9d46d"; │
│ fsType = "btrfs"; │
│ - options = ["subvol=persist"]; │
│ + options = ["subvol=persist" "compress │
│ =zstd"]; │
│ }; │
│ │
│ "/swap" = { │
│ device = "/dev/disk/by-uuid/629a7421- │
│ 24a0-45e6-87af-031574d9d46d"; │
│ fsType = "btrfs"; │
│ - options = ["subvol=swap"]; │
│ + options = ["subvol=swap" "noatime"]; │
│ }; │
│ │
│ "/boot" = { │
└──────────────────────────────────────────────┘
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET