18 lines
341 B
Nix
18 lines
341 B
Nix
{ lib, ... }:
|
|
{
|
|
nixpkgs.config.allowUnfreePredicate =
|
|
pkg:
|
|
builtins.elem (lib.getName pkg) [
|
|
"valheim-server"
|
|
"steamworks-sdk-redist"
|
|
];
|
|
|
|
services.valheim = {
|
|
enable = true;
|
|
crossplay = true;
|
|
openFirewall = true;
|
|
password = "hunter2";
|
|
serverName = "Nixheim";
|
|
worldName = "Owoheim";
|
|
};
|
|
}
|