nixos/whale2: Refresh Valheim server and world
Pin the community image and start simpland3 while retaining simpland2. Correct the server-files volume name and reuse the admin ID in both access lists.
This commit is contained in:
@@ -48,7 +48,8 @@ forwarded by `estuary`.
|
||||
| `graeme` | `25569` tcp+udp | running |
|
||||
|
||||
- **valheim** ([`valheim.nix`](../../../nixos/boxes/colony/vms/whale2/valheim.nix)) —
|
||||
`lloesche/valheim-server`, public server "amogus sus", world `simpland2`,
|
||||
`community-valheim-tools/valheim-server`, public server "amogus sus", world `simpland3`
|
||||
(previous world `simpland2` retained in the `valheim_data` volume),
|
||||
allow-listed Steam IDs, password from agenix.
|
||||
- **simpcraft** ([`minecraft/`](../../../nixos/boxes/colony/vms/whale2/minecraft)) —
|
||||
`itzg/minecraft-server` (self-built `git.nul.ie/dev/craftblock` image),
|
||||
|
||||
@@ -2,21 +2,24 @@
|
||||
let
|
||||
inherit (lib) concatStringsSep;
|
||||
inherit (lib.my) dockerNetAssignment;
|
||||
|
||||
admin = "76561198049818986"; # /dev/player0
|
||||
in
|
||||
{
|
||||
config = {
|
||||
virtualisation.oci-containers.containers = {
|
||||
valheim = {
|
||||
image = "ghcr.io/lloesche/valheim-server@sha256:d977ccbeff02d2509646fb0157b5e353ebadb3105a3ed351b9c309a09a61701b";
|
||||
image = "ghcr.io/community-valheim-tools/valheim-server@sha256:f3ccde9a4e292663cf5096d502ff33cc9617015f6d70b6a9ca0968543f165ef2";
|
||||
|
||||
environment = {
|
||||
BACKUPS_IF_IDLE = "false";
|
||||
SERVER_NAME = "amogus sus";
|
||||
SERVER_PUBLIC = "true";
|
||||
WORLD_NAME = "simpland2";
|
||||
ADMINLIST_IDS = "76561198049818986";
|
||||
# Previous world: simpland2
|
||||
WORLD_NAME = "simpland3";
|
||||
ADMINLIST_IDS = admin;
|
||||
PERMITTEDLIST_IDS = concatStringsSep " " [
|
||||
"76561198049818986" # /dev/player0
|
||||
admin
|
||||
"76561198044432445" # Nuda
|
||||
"76561198121606266" # El Pugador
|
||||
"76561198059894566" # hynge
|
||||
@@ -27,7 +30,7 @@ in
|
||||
|
||||
volumes = [
|
||||
"valheim_data:/config"
|
||||
"valhem_server:/opt/valheim"
|
||||
"valheim_server:/opt/valheim"
|
||||
];
|
||||
|
||||
extraOptions = [
|
||||
|
||||
Reference in New Issue
Block a user