fix(nixos): deploy from source checkout
Replace target-checkout deployment with source-built closure import and activation. Allow SteamCMD game services to stay configured without auto-starting, and disable Palworld auto-start on Pikachu.
This commit is contained in:
@@ -50,6 +50,12 @@ in
|
||||
description = "Public IP address advertised by the Palworld server.";
|
||||
};
|
||||
|
||||
autoStart = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
description = "Start the Palworld server during normal boot.";
|
||||
};
|
||||
|
||||
passwordSecret = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "services/game-servers/password";
|
||||
@@ -82,7 +88,7 @@ in
|
||||
guests.palworld = {
|
||||
interior.modules.services.games.palworld = {
|
||||
enable = true;
|
||||
inherit (cfg) serverName port publicIP;
|
||||
inherit (cfg) serverName port publicIP autoStart;
|
||||
inherit steamDir installDir stateDir;
|
||||
passwordFile = "/run/secrets/${cfg.passwordSecret}";
|
||||
adminPasswordFile = "/run/secrets/${cfg.adminPasswordSecret}";
|
||||
|
||||
Reference in New Issue
Block a user