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:
2026-09-15 17:07:33 -04:00
parent 4b3ca27637
commit b7e43b8647
7 changed files with 82 additions and 66 deletions

View File

@@ -65,6 +65,12 @@
default = [ ];
description = "TCP ports opened for the game service.";
};
autoStart = lib.mkOption {
type = lib.types.bool;
default = true;
description = "Start the game service during normal boot.";
};
};
config = lib.mkMerge [
@@ -150,7 +156,7 @@
"steamcmd-${service.serviceName}-update.service"
];
wants = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ];
wantedBy = lib.mkIf service.autoStart [ "multi-user.target" ];
serviceConfig = {
Type = "simple";
User = user;