fix(nixos): run Valheim with storage group

This commit is contained in:
2026-09-09 21:32:16 -04:00
parent 0a9f6f9920
commit 88f082f1c0
2 changed files with 6 additions and 13 deletions

View File

@@ -7,15 +7,6 @@
# pikachu — AZW ME Pro server.
# Disk layout is in ./disk.nix.
# `fileSystems` for the root disk are derived from it.
let
valheimSteamRun = pkgs.steam-run.override {
extraBwrapArgs = [
"--bind"
"/pikachu"
"/pikachu"
];
};
in
{
imports = [
./hardware-configuration.nix
@@ -83,8 +74,9 @@ in
appId = 896660;
installDir = "/pikachu/data/servers/valheim/main";
workingDirectory = "/pikachu/data/servers/valheim/main";
group = "storage";
dataDirs = [ "/pikachu/media/games/servers/valheim/main" ];
packages = [ valheimSteamRun ];
packages = [ pkgs.steam-run ];
environment = {
SteamAppId = "892970";
SERVER_PASSWORD = "foobarbaz";