diff options
| author | Ben Sima <ben@bensima.com> | 2025-12-25 18:05:16 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-12-25 18:05:16 -0500 |
| commit | 871b5cf992c6d2b00f2336c898e92943187bbc35 (patch) | |
| tree | 7ccf638b98c46f3b04d571af23ffe91bc71edfec | |
| parent | 8f561610a7fe52ef2b42cf61b7048cb743f8ea0f (diff) | |
Omni/Deploy: rename biz-deployer to deployer
Rename the service from biz-deployer to deployer for simplicity.
Updates Deployer.nix, Beryllium.nix, and Biz.nix.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
| -rwxr-xr-x | Biz.nix | 2 | ||||
| -rw-r--r-- | Omni/Deploy/Deployer.nix | 14 | ||||
| -rwxr-xr-x | Omni/Dev/Beryllium.nix | 2 |
3 files changed, 9 insertions, 9 deletions
@@ -31,7 +31,7 @@ bild.os { # Mini-PaaS deployer service manages all application services # via manifest.json in S3. Services like podcastitlater-web, # podcastitlater-worker are deployed dynamically without NixOS rebuild. - services.biz-deployer = { + services.deployer = { enable = true; package = packages.biz-deployer; manifestPackage = packages.deploy-manifest; diff --git a/Omni/Deploy/Deployer.nix b/Omni/Deploy/Deployer.nix index ea4ae47..54a8f6c 100644 --- a/Omni/Deploy/Deployer.nix +++ b/Omni/Deploy/Deployer.nix @@ -5,10 +5,10 @@ pkgs, ... }: let - cfg = config.services.biz-deployer; + cfg = config.services.deployer; in { - options.services.biz-deployer = { - enable = lib.mkEnableOption "Enable the biz-deployer mini-PaaS service"; + options.services.deployer = { + enable = lib.mkEnableOption "Enable the deployer mini-PaaS service"; package = lib.mkOption { type = lib.types.package; @@ -61,7 +61,7 @@ in { ]; # The deployer service runs as a timer-triggered oneshot - systemd.services.biz-deployer = { + systemd.services.deployer = { description = "Mini-PaaS deployment agent"; after = ["network-online.target"]; wants = ["network-online.target"]; @@ -82,13 +82,13 @@ in { }; # Timer to run deployer every N seconds - systemd.timers.biz-deployer = { - description = "Timer for biz-deployer reconciliation"; + systemd.timers.deployer = { + description = "Timer for deployer reconciliation"; wantedBy = ["timers.target"]; timerConfig = { OnBootSec = "1min"; OnUnitActiveSec = "${toString cfg.interval}s"; - Unit = "biz-deployer.service"; + Unit = "deployer.service"; }; }; diff --git a/Omni/Dev/Beryllium.nix b/Omni/Dev/Beryllium.nix index 367ee1d..b571910 100755 --- a/Omni/Dev/Beryllium.nix +++ b/Omni/Dev/Beryllium.nix @@ -24,7 +24,7 @@ in # Mini-PaaS deployer service manages Ava and other services # via manifest.json in S3. Services are deployed dynamically # without NixOS rebuild. - services.biz-deployer = { + services.deployer = { enable = true; package = packages.deployer; manifestPackage = packages.deploy-manifest; |
