40 lines
854 B
Nix
40 lines
854 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
|
|
};
|
|
|
|
outputs = { nixpkgs, ... }: {
|
|
colmena = {
|
|
meta = {
|
|
nixpkgs = import nixpkgs {
|
|
system = "x86_64-linux";
|
|
};
|
|
};
|
|
|
|
nitter = { name, nodes, pkgs, ... }: {
|
|
deployment = {
|
|
targetHost = "nixos-nitter.vs.grzb.de";
|
|
targetUser = "colmena-deploy";
|
|
};
|
|
imports = [
|
|
./configuration/common
|
|
./configuration/proxmox-vm
|
|
./hosts/nitter
|
|
];
|
|
};
|
|
|
|
coturn = { name, nodes, pkgs, ... }: {
|
|
deployment = {
|
|
targetHost = "nixos-coturn.vs.grzb.de";
|
|
targetUser = "colmena-deploy";
|
|
};
|
|
imports = [
|
|
./configuration/common
|
|
./configuration/proxmox-vm
|
|
./hosts/coturn
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|