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
8565ed523e
commit
9fe90a1ede
@ -22,7 +22,7 @@
|
|||||||
"/opt/hassio"
|
"/opt/hassio"
|
||||||
"/opt/hassio/.snapshots"
|
"/opt/hassio/.snapshots"
|
||||||
];
|
];
|
||||||
fn = (x: { options = [ "compress=zstd" ];});
|
fn = (x: { options = [ "compress=zstd commit=300" ];});
|
||||||
in lib.genAttrs mounts fn;
|
in lib.genAttrs mounts fn;
|
||||||
|
|
||||||
# Use the extlinux boot loader. (NixOS wants to enable GRUB by default)
|
# Use the extlinux boot loader. (NixOS wants to enable GRUB by default)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user