summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscouckel <james.krinsky@gmail.com>2026-01-10 20:06:50 -0500
committerscouckel <james.krinsky@gmail.com>2026-01-10 20:06:50 -0500
commit7332e53b54ec49a8912333c5cef447fdc5e3c708 (patch)
treed2e333afac749f5a18c2af8b50b965697d918eb8
parent4c0c05c5bf05bc3e62d43291d5b524aecc2a1170 (diff)
zfs for shar
-rw-r--r--hosts/shar/configuration.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/hosts/shar/configuration.nix b/hosts/shar/configuration.nix
index c870423..9fd0b1e 100644
--- a/hosts/shar/configuration.nix
+++ b/hosts/shar/configuration.nix
@@ -33,6 +33,13 @@
system.name = "shar";
networking.hostName = "shar"; # Define your hostname.
+ boot.supportedFilesystems = [ "zfs" ];
+
+ services.zfs = {
+ autoScrub.enable = true;
+ autoSnapshot.enable = true;
+ };
+
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";