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:
parent
28cad3a3fb
commit
9c85910688
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user