nixos/alloy: set After=network.target (#399864)

This commit is contained in:
Florian Klink
2025-04-19 16:50:18 +02:00
committed by GitHub
@@ -65,6 +65,7 @@ in
config = lib.mkIf cfg.enable {
systemd.services.alloy = {
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
reloadTriggers = lib.mapAttrsToList (_: v: v.source or null) (
lib.filterAttrs (n: _: lib.hasPrefix "alloy/" n && lib.hasSuffix ".alloy" n) config.environment.etc