diff --git a/hosts/monolith/factorio-server.nix b/hosts/monolith/factorio-server.nix index 3c893a5..211e746 100644 --- a/hosts/monolith/factorio-server.nix +++ b/hosts/monolith/factorio-server.nix @@ -10,6 +10,11 @@ extraSettingsFile = config.age.secrets.factorio-settings.path; }; + systemd.services.factorio = { + after = [ "network-online.target" ]; + wants = [ "network-online.target" ]; + }; + age.secrets.factorio-settings = { file = ../../secrets/factorio-settings.age; mode = "777";