factorio: wait for network connection before starting

This commit is contained in:
Leonardo Eugênio 2025-01-08 21:21:11 -03:00
parent d84480a40d
commit 26e013d88f

View file

@ -10,6 +10,11 @@
extraSettingsFile = config.age.secrets.factorio-settings.path; extraSettingsFile = config.age.secrets.factorio-settings.path;
}; };
systemd.services.factorio = {
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
};
age.secrets.factorio-settings = { age.secrets.factorio-settings = {
file = ../../secrets/factorio-settings.age; file = ../../secrets/factorio-settings.age;
mode = "777"; mode = "777";