1
0
Fork 0
forked from pub-solar/infra

metronom: enable ZFS auto scrub once per month

This commit is contained in:
teutat3s 2024-06-23 15:16:04 +02:00
parent af5abfc712
commit 153ef69daf
Signed by untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -18,6 +18,11 @@
# https://nixos.wiki/wiki/ZFS#declarative_mounting_of_ZFS_datasets
systemd.services.zfs-mount.enable = false;
services.zfs.autoScrub = {
enable = true;
pools = [ "root_pool" ];
};
# Declarative SSH private key
#age.secrets."metronom-root-ssh-key" = {
# file = "${flake.self}/secrets/metronom-root-ssh-key.age";