nixos-module: fix blocklist-update.service network requirement

This commit is contained in:
Astro 2023-02-21 03:42:22 +01:00
parent 9297791a9b
commit 2776e007c3
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ in
};
systemd.services.blocklist-update = lib.mkIf cfg.hunter.enable {
requires = [ "network-online.target" ];
after = [ "network.target" ];
path = with pkgs; [ coreutils wget ];
script = ''
T=$(mktemp blocklistXXXX)