Skip to content

Commit 8ee81a2

Browse files
authored
nixos/alloy: set After=network.target (NixOS#399864)
2 parents b550108 + 5d094c2 commit 8ee81a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nixos/modules/services/monitoring/alloy.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ in
6565

6666
config = lib.mkIf cfg.enable {
6767
systemd.services.alloy = {
68+
after = [ "network.target" ];
6869
wantedBy = [ "multi-user.target" ];
6970
reloadTriggers = lib.mapAttrsToList (_: v: v.source or null) (
7071
lib.filterAttrs (n: _: lib.hasPrefix "alloy/" n && lib.hasSuffix ".alloy" n) config.environment.etc

0 commit comments

Comments
 (0)