From f994ba035c3750aac46f48658c6be75839c868d9 Mon Sep 17 00:00:00 2001 From: Leyla Becker Date: Tue, 17 Sep 2024 09:59:57 -0500 Subject: [PATCH] added zfs auto scrub and snapshot --- hosts/defiant/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/defiant/configuration.nix b/hosts/defiant/configuration.nix index e42db42..e7b1e5e 100644 --- a/hosts/defiant/configuration.nix +++ b/hosts/defiant/configuration.nix @@ -34,6 +34,9 @@ boot.zfs.extraPools = [ "zpool" ]; + services.zfs.autoScrub.enable = true; + services.zfs.autoSnapshot.enable = true; + # this might need to match the hostId of the installation medium? `head -c 8 /etc/machine-id` NOPE networking.hostId = "c51763d6"; networking.hostName = "defiant"; # Define your hostname.