feat: set up colmena with hetzner stuff
This commit is contained in:
28
deploy/colmena.nix
Normal file
28
deploy/colmena.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
self,
|
||||
inputs,
|
||||
}:
|
||||
|
||||
inputs.colmena.lib.makeHive {
|
||||
meta = {
|
||||
nixpkgs = import inputs.nixpkgs {
|
||||
system = "x86_64-linux";
|
||||
};
|
||||
|
||||
nodeNixpkgs = builtins.mapAttrs (_: v: v.pkgs) self.nixosConfigurations;
|
||||
nodeSpecialArgs = builtins.mapAttrs (_: v: v._module.specialArgs or { }) self.nixosConfigurations;
|
||||
};
|
||||
|
||||
astyanax.deployment.tags = [ "local" ];
|
||||
|
||||
andromache.deployment.tags = [ "local" ];
|
||||
|
||||
vm.deployment.tags = [ "local" ];
|
||||
|
||||
hecuba.deployment = {
|
||||
targetHost = "hecuba";
|
||||
targetUser = "username";
|
||||
targetPort = 22;
|
||||
tags = [ "cloud" ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user