blob: c87f91a7b288e5db8dc7f5741d9cf1b98543a548 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# nunya
{ 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
# wire them together as necessary here, but I don't know how that works so I'll
# just stick to this method for now.
bild.os {
imports = [
./Omni/Cloud/Hardware.nix
./Omni/Os/Base.nix
./Omni/Packages.nix
./Omni/Users.nix
./Biz/Storybook.nix
];
networking.hostName = "biz";
networking.domain = "storybook.bensima.com";
time.timeZone = "America/New_York";
services.storybook = {
enable = true;
package = bild.run ./Biz/Storybook.py;
};
}
|