factorio: wait for network connection before starting
This commit is contained in:
parent
d84480a40d
commit
26e013d88f
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue