Skip to content

Commit

Permalink
nix/module.nix: Start comin after the network comes up.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpds committed May 3, 2024
1 parent 425c747 commit 0e155dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nix/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0e155dc

Please sign in to comment.