From 8cc44a4c0ddd5639b0af7eb89184225ad8a9c3cc Mon Sep 17 00:00:00 2001 From: Astro Date: Thu, 26 Jan 2023 01:01:46 +0100 Subject: [PATCH] nixos-module: let caveman-hunter depend on blocklist-update --- nixos-module.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos-module.nix b/nixos-module.nix index 58fd415..3769b5b 100644 --- a/nixos-module.nix +++ b/nixos-module.nix @@ -138,7 +138,7 @@ in systemd.services.caveman-hunter = lib.mkIf cfg.hunter.enable { wantedBy = [ "multi-user.target" ]; - requires = [ "redis-caveman.service" ]; + requires = [ "redis-caveman.service" "blocklist-update.service" ]; after = [ "redis-caveman.service" "network-online.target" ]; environment.RUST_LOG = "caveman=${cfg.hunter.logLevel}"; serviceConfig = {