diff options
Diffstat (limited to 'Biz.nix')
| -rwxr-xr-x | Biz.nix | 24 |
1 files changed, 22 insertions, 2 deletions
@@ -1,6 +1,16 @@ #!/usr/bin/env run.sh # nunya -{bild, ...}: +# +# To build the NixOS system: +# 1. First build packages: nix-build Biz/Packages.nix +# 2. Then build OS with packages: nix-build Biz.nix --arg packages "import ./Biz/Packages.nix {}" +# +# Or use the wrapper: Omni/Ide/run.sh Biz.nix +{ + bild, + packages ? import ./Biz/Packages.nix {inherit bild;}, + ... +}: # This is the biz hosting service. Currently it defines a base OS similar to # Omni/Cloud.nix et al and starts each Biz/* thing as a systemd service. A # better solution might be to define each Biz/* thing as a container, and then @@ -13,12 +23,22 @@ bild.os { ./Omni/Packages.nix ./Omni/Users.nix ./Biz/Storybook.nix + ./Biz/PodcastItLater/Web.nix + ./Biz/PodcastItLater/Worker.nix ]; networking.hostName = "biz"; networking.domain = "storybook.bensima.com"; time.timeZone = "America/New_York"; services.storybook = { + enable = false; + package = packages.storybook; + }; + services.podcastitlater-web = { + enable = true; + package = packages.podcastitlater-web; + }; + services.podcastitlater-worker = { enable = true; - package = bild.run ./Biz/Storybook.py; + package = packages.podcastitlater-worker; }; } |
