Require network-online - required for key acquiry

This commit is contained in:
bluepython508
2024-07-28 10:03:21 +01:00
parent 49768dc93d
commit 8e62a22071

View File

@@ -82,6 +82,7 @@
TS_AUTHKEY=$(cat $RUNTIME_DIRECTORY/authkey) ${lib.getExe self.packages.${pkgs.system}.default} ${hostname} ${lib.concatMapStringsSep " " ({proto, port, dest}: "${proto}:${toString port}:${dest}") forwards}
'';
wantedBy = ["multi-user.target"];
wants = ["network-online.target"];
serviceConfig = {
DynamicUser = true;
RuntimeDirectory = name;