diff --git a/hosts/metronom/configuration.nix b/hosts/metronom/configuration.nix index a423d4e..a43c836 100644 --- a/hosts/metronom/configuration.nix +++ b/hosts/metronom/configuration.nix @@ -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"; diff --git a/hosts/nachtigall/configuration.nix b/hosts/nachtigall/configuration.nix index f4d9e1d..324755e 100644 --- a/hosts/nachtigall/configuration.nix +++ b/hosts/nachtigall/configuration.nix @@ -35,6 +35,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."nachtigall-root-ssh-key" = { file = "${flake.self}/secrets/nachtigall-root-ssh-key.age";