rpi4: set btrfs commit interval to 5 minutes

i meant to do this months ago. my last sd card died and i want to avoid
that happening again.
This commit is contained in:
NullBite 2024-12-17 00:59:13 +00:00
parent 28cad3a3fb
commit 9c85910688
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -22,7 +22,7 @@
"/opt/hassio"
"/opt/hassio/.snapshots"
];
fn = (x: { options = [ "compress=zstd" ];});
fn = (x: { options = [ "compress=zstd commit=300" ];});
in lib.genAttrs mounts fn;
# Use the extlinux boot loader. (NixOS wants to enable GRUB by default)