module-eval: three duplicate nixosSystem fixtures come from shared.nix
builder.nix's bare, servicesHere and natsHere were exact copies of shared.bareWithController, swarm-services-switch's swarmServicesHere and nats-authelia's natsOldPath. The last two move into shared.nix; each file rebinds them under its local name, so no case changes.
This commit is contained in:
parent
b2828d83dc
commit
d0fa1f98a1
5 changed files with 20 additions and 15 deletions
|
|
@ -51,6 +51,17 @@ in
|
|||
|
||||
servicesHere = hive { deploy.allSwarmServices = true; };
|
||||
|
||||
# The all-swarm-services switch on the controller's host, the services box
|
||||
# shape that hives elsewhere join.
|
||||
swarmServicesWithController = hiveWithController { deploy.allSwarmServices = true; };
|
||||
|
||||
# The queue's two old `swarm.nats` paths that still rename, `enable` and
|
||||
# `authPackage`, with no store identity.
|
||||
natsOldPath = hive {
|
||||
swarm.nats.enable = true;
|
||||
swarm.nats.authPackage = pkgs.emptyDirectory;
|
||||
};
|
||||
|
||||
controllerAlone = hive { deploy.swarm-controller.enable = true; };
|
||||
|
||||
matrixNoBaoIdentity = hiveWithController { deploy.matrix.enable = true; };
|
||||
|
|
|
|||
Loading…
Reference in a new issue