depot/cluster/default.nix

22 lines
422 B
Nix
Raw Normal View History

2023-03-07 02:26:07 +02:00
{ lib, depot, hostName }:
2022-06-23 21:13:28 +03:00
lib.evalModules {
2023-03-07 02:26:07 +02:00
specialArgs = {
inherit depot;
};
2022-06-23 21:13:28 +03:00
modules = [
# Arbitrary variables to reference across multiple services
./lib/vars
{ vars = { inherit hostName; }; }
# Cluster-level port-magic
../modules/port-magic
../tools/inject.nix
./lib/services.nix
./lib/inject-nixos-config.nix
2022-10-22 14:30:09 +03:00
./lib/port-magic-multi.nix
2022-06-23 21:13:28 +03:00
./import-services.nix
];
}