From 574d24ac0184d080f7f6507a300cf512684014e0 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 21 Dec 2024 20:19:26 +0000 Subject: [PATCH] rexxar: don't restart zfs on changes --- ops/nixos/rexxar/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ops/nixos/rexxar/default.nix b/ops/nixos/rexxar/default.nix index 55e417ab28..c95ca5027f 100644 --- a/ops/nixos/rexxar/default.nix +++ b/ops/nixos/rexxar/default.nix @@ -86,6 +86,12 @@ boot.loader.systemd-boot.extraInstallCommands = '' rsync -a /boot/ /boot2/ ''; + systemd.services.zfs-import-zu2 = { + # Do not stop me. It makes everything very sad. + reloadIfChanged = false; + restartIfChanged = false; + stopIfChanged = false; + }; nix.settings.max-jobs = lib.mkDefault 64;