nixos/whale2: Add whitelist for Valheim

This commit is contained in:
2022-11-28 22:42:27 +00:00
parent 2ba4f88264
commit d85b226707
2 changed files with 17 additions and 9 deletions

View File

@@ -1,5 +1,6 @@
{ lib, config, allAssignments, ... }:
let
inherit (lib) concatStringsSep;
inherit (lib.my) dockerNetAssignment;
in
{
@@ -13,6 +14,12 @@ in
SERVER_PUBLIC = "true";
WORLD_NAME = "simpland2";
ADMINLIST_IDS = "76561198049818986";
PERMITTEDLIST_IDS = concatStringsSep " " [
"76561198049818986" # /dev/player0
"76561198044432445" # Nuda
"76561198121606266" # El Pugador
"76561198059894566" # hynge
];
TZ = "Europe/Dublin";
};
environmentFiles = [ config.age.secrets."whale2/valheim.env".path ];