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 spotify
# Gaming # Gaming
airshipper
dolphin-emu dolphin-emu
path-of-building path-of-building
protontricks protontricks
@ -356,5 +357,20 @@
Install = { WantedBy = [ "default.target" ]; }; 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 = { networking.firewall = {
allowedTCPPorts = [ allowedTCPPorts = [
11753 # OpenRCT2 11753 # OpenRCT2
14004 # Veloren
443 # SSL 443 # SSL
80 # HTTP 80 # HTTP
]; ];
allowedUDPPorts = [ allowedUDPPorts = [
11753 # OpenRCT2 11753 # OpenRCT2
14004 # Veloren
2626 # Dolphin emulator 2626 # Dolphin emulator
27015 # Source games 27015 # Source games
8211 # Palworld 8211 # Palworld
@ -94,12 +96,12 @@
from = 1714; from = 1714;
to = 1764; to = 1764;
} # KDEConnect } # KDEConnect
]; ];
allowedUDPPortRanges = [{ allowedUDPPortRanges = [{
from = 1714; from = 1714;
to = 1764; to = 1764;
} # KDEConnect } # KDEConnect
]; ];
}; };
# Or disable the firewall altogether. # Or disable the firewall altogether.
# networking.firewall.enable = false; # networking.firewall.enable = false;
@ -153,7 +155,6 @@
LC_TELEPHONE = "pt_BR.UTF-8"; LC_TELEPHONE = "pt_BR.UTF-8";
LC_TIME = "en_GB.UTF-8"; LC_TIME = "en_GB.UTF-8";
}; };
}; };
# Enable CUPS to print documents. # Enable CUPS to print documents.