summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/vidhar/zfs.nix24
1 files changed, 0 insertions, 24 deletions
diff --git a/hosts/vidhar/zfs.nix b/hosts/vidhar/zfs.nix
index 8e1e4929..cfbd3d3a 100644
--- a/hosts/vidhar/zfs.nix
+++ b/hosts/vidhar/zfs.nix
@@ -138,27 +138,3 @@
138 }; 138 };
139 }; 139 };
140} 140}
141 };
142
143 users.users.gkleen.createHome = lib.mkForce false;
144 users.users.mherold.createHome = lib.mkForce false;
145
146 boot.postBootCommands = ''
147 echo "=== STARTING ZPOOL IMPORT ==="
148 ${pkgs.zfs}/bin/zpool import -a -N -d /dev
149 ${pkgs.zfs}/bin/zpool status
150 ${pkgs.zfs}/bin/zfs mount -a
151 echo "=== ZPOOL IMPORT COMPLETE ==="
152 '';
153
154 services.zfssnap.enable = true;
155 services.zfs.trim.enable = false;
156 services.zfs.autoScrub = {
157 enable = true;
158 interval = "Sun *-*-1..7 04:00:00";
159 };
160 services.zfs.zed.settings = {
161 ZED_SYSLOG_SUBCLASS_EXCLUDE = "history_event";
162 };
163 };
164}