feat(nixos): run Valheim in a guest
This commit was merged in pull request #37.
This commit is contained in:
@@ -65,21 +65,25 @@
|
||||
};
|
||||
|
||||
registry.address.pikachu.self = "10.23.10.102";
|
||||
registry.route.pikachu.self = {
|
||||
domain = "valheim.alexion.dev";
|
||||
udp.ports = [
|
||||
config.modules.services.games.valheim.port
|
||||
(config.modules.services.games.valheim.port + 1)
|
||||
];
|
||||
};
|
||||
|
||||
modules.services.games.valheim = {
|
||||
guests.valheim = {
|
||||
enable = true;
|
||||
steamDir = "/pikachu/data/steamcmd";
|
||||
installDir = "/pikachu/data/servers/valheim/main";
|
||||
stateDir = "/pikachu/media/games/servers/valheim/main";
|
||||
vlan = 20;
|
||||
address = "10.23.20.197";
|
||||
steamPath = "/pikachu/data/steamcmd";
|
||||
installPath = "/pikachu/data/servers/valheim/main";
|
||||
statePath = "/pikachu/media/games/servers/valheim/main";
|
||||
serverName = "main";
|
||||
password = "foobarbaz";
|
||||
reverseProxy = {
|
||||
enable = true;
|
||||
route = {
|
||||
domain = "valheim.alexion.dev";
|
||||
udp.ports = [
|
||||
config.guests.valheim.port
|
||||
(config.guests.valheim.port + 1)
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
guests.actualbudget = {
|
||||
|
||||
Reference in New Issue
Block a user