17 lines
335 B
Nix
17 lines
335 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";
|
||
|
};
|
||
|
}
|