hm: add veloren (game)

This commit is contained in:
Alexandre Cavalheiro 2024-04-11 20:04:41 -03:00
parent 95e2571160
commit d741b4405f
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
2 changed files with 20 additions and 3 deletions

View file

@ -133,6 +133,7 @@
spotify
# Gaming
airshipper
dolphin-emu
path-of-building
protontricks
@ -356,5 +357,20 @@
Install = { WantedBy = [ "default.target" ]; };
};
veloren = {
Unit = { Description = "FoundryVTT server"; };
Service = {
ExecStart =
"/etc/profiles/per-user/wizardlink/bin/fhs -c './veloren-server-cli'";
Restart = "on-failure";
Type = "simple";
WorkingDirectory =
"/home/wizardlink/.local/share/airshipper/profiles/default";
};
Install = { WantedBy = [ "default.target" ]; };
};
};
}

View file

@ -79,12 +79,14 @@
networking.firewall = {
allowedTCPPorts = [
11753 # OpenRCT2
14004 # Veloren
443 # SSL
80 # HTTP
];
allowedUDPPorts = [
11753 # OpenRCT2
14004 # Veloren
2626 # Dolphin emulator
27015 # Source games
8211 # Palworld
@ -94,12 +96,12 @@
from = 1714;
to = 1764;
} # KDEConnect
];
];
allowedUDPPortRanges = [{
from = 1714;
to = 1764;
} # KDEConnect
];
];
};
# Or disable the firewall altogether.
# networking.firewall.enable = false;
@ -153,7 +155,6 @@
LC_TELEPHONE = "pt_BR.UTF-8";
LC_TIME = "en_GB.UTF-8";
};
};
# Enable CUPS to print documents.