no ap factorio

This commit is contained in:
Noa Aarts 2025-06-30 21:48:41 +02:00
parent c0602231b7
commit 82e0023d8d
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -194,35 +194,6 @@ in
restartIfChanged = true;
};
"ap-factorio" =
let
script = pkgs.writeShellScript "archipelago-server" ''
${archipelago}/bin/archipelago FactorioClient -- --server-settings /home/noa/Archipelago/factorio-server-settings.json
'';
in
{
enable = true;
serviceConfig = {
Type = "simple";
User = "noa";
ExecStart = "${script}";
BindPaths = [
"/home/noa/Archipelago"
"/home/noa/.factorio"
];
Restart = "always";
};
wants = [
"network-online.target"
];
after = [
"network-online.target"
];
wantedBy = [ "multi-user.target" ];
restartIfChanged = true;
};
"update-from-flake" = {
path = with pkgs; [
git