From a029854b6f0fd913619c0d3b98897eca2bac8198 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 16 May 2022 00:05:34 +0200 Subject: ... --- hosts/vidhar/zfs.nix | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'hosts/vidhar') 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 @@ }; }; } - }; - - users.users.gkleen.createHome = lib.mkForce false; - users.users.mherold.createHome = lib.mkForce false; - - boot.postBootCommands = '' - echo "=== STARTING ZPOOL IMPORT ===" - ${pkgs.zfs}/bin/zpool import -a -N -d /dev - ${pkgs.zfs}/bin/zpool status - ${pkgs.zfs}/bin/zfs mount -a - echo "=== ZPOOL IMPORT COMPLETE ===" - ''; - - services.zfssnap.enable = true; - services.zfs.trim.enable = false; - services.zfs.autoScrub = { - enable = true; - interval = "Sun *-*-1..7 04:00:00"; - }; - services.zfs.zed.settings = { - ZED_SYSLOG_SUBCLASS_EXCLUDE = "history_event"; - }; - }; -} -- cgit v1.2.3