From 0e155dc7c2ef2e8c50b06492ff5444e4a8b8ba35 Mon Sep 17 00:00:00 2001 From: Jonathan Davies Date: Fri, 3 May 2024 01:38:24 +0100 Subject: [PATCH] nix/module.nix: Start comin after the network comes up. --- nix/module.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/module.nix b/nix/module.nix index 773fed6..0e3ba98 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -19,6 +19,7 @@ in { networking.firewall.allowedTCPPorts = lib.optional cfg.services.comin.exporter.openFirewall cfg.services.comin.exporter.port; systemd.services.comin = { wantedBy = [ "multi-user.target" ]; + after = [ "network.target" ]; path = [ config.nix.package ]; # The comin service is restarted by comin itself when it # detects the unit file changed.