feat(infra): enable btrfs kernel support and tools on netcup-vps

btrfs-progs, btrfs-heatmap, btrfs-static.
boot.kernelModules += btrfs, boot.supportedFilesystems += btrfs.
grub.fsTracker enabled for subvolume tracking.
This commit is contained in:
Brandon Schneider 2026-05-29 14:58:20 -05:00
parent b7c16e0237
commit 92a5a6f332
2 changed files with 17 additions and 0 deletions

View file

@ -14,6 +14,13 @@
boot.loader.grub.device = "/dev/vda";
boot.loader.grub.efiSupport = true;
boot.loader.grub.efiInstallAsRemovable = true;
boot.loader.grub.fsTracker = true; # Track BTRFS subvolumes
# ── BTRFS support ───────────────────────────────────────────────────────────
# Enable btrfs kernel module and quota support
boot.supportedFilesystems = lib.mkAfter [ "btrfs" ];
boot.kernelModules = [ "btrfs" ];
boot.extraModulePackages = with pkgs; [ btrfs-progs ];
# ── Filesystems ────────────────────────────────────────────────────────────
# NOTE: Fill in actual partition layout from CCP before deploying.
@ -592,6 +599,11 @@
jellyfin-web # Web UI
# Hardware acceleration (common for ARM64 media)
openssl # Already present; TLS for jellyfin
# ── BTRFS tools ────────────────────────────────────────────────────────
btrfs-progs # btrfs filesystem utilities (mkfs, subvolume, send/receive)
btrfs-heatmap # Visualize BTRFS space usage
btrfs-static # Static btrfs binaries for rescue
];
# ── Performance tuning for 64GB RAM / 18 cores ────────────────────────────

View file

@ -155,6 +155,11 @@
jellyfin # Media server
jellyfin-ffmpeg # Jellyfin's patched FFmpeg (VA-API, QSV, OCL support)
jellyfin-web # Web UI
# ── BTRFS filesystem tools ───────────────────────────────────────
btrfs-progs # mkfs, subvolume, send/receive, scrub, balance
btrfs-heatmap # Visualize BTRFS space usage
btrfs-static # Static binaries for rescue
];
# ── Python packages (full science stack) ──────────────────────────────