summaryrefslogtreecommitdiff
path: root/hosts/shar/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/shar/configuration.nix')
-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";