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 8565ed523e
commit 9fe90a1ede
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)