55 lines
1,013 B
Nix
55 lines
1,013 B
Nix
|
{
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
|
||
|
};
|
||
|
|
||
|
outputs =
|
||
|
{ nixpkgs, ... }:
|
||
|
{
|
||
|
colmena = {
|
||
|
meta = {
|
||
|
nixpkgs = import nixpkgs {
|
||
|
system = "x86_64-linux";
|
||
|
overlays = [ ];
|
||
|
};
|
||
|
};
|
||
|
|
||
|
git-system =
|
||
|
{
|
||
|
name,
|
||
|
nodes,
|
||
|
pkgs,
|
||
|
...
|
||
|
}:
|
||
|
{
|
||
|
deployment = {
|
||
|
targetHost = "somehost.tld";
|
||
|
targetPort = 1234;
|
||
|
targetUser = "luser";
|
||
|
};
|
||
|
imports = [ ./git_system.nix ];
|
||
|
};
|
||
|
runner-system =
|
||
|
{
|
||
|
name,
|
||
|
nodes,
|
||
|
pkgs,
|
||
|
...
|
||
|
}:
|
||
|
{
|
||
|
imports = [ ./runner_system.nix ];
|
||
|
};
|
||
|
dev-system =
|
||
|
{
|
||
|
name,
|
||
|
nodes,
|
||
|
pkgs,
|
||
|
...
|
||
|
}:
|
||
|
{
|
||
|
imports = [ ./dev_system.nix ];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|