nix-infra/flake.nix

52 lines
1.1 KiB
Nix
Raw Normal View History

2023-07-10 15:30:51 +02:00
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
2023-07-10 15:30:51 +02:00
};
outputs = { nixpkgs, ... }: {
colmena = {
meta = {
nixpkgs = import nixpkgs {
system = "x86_64-linux";
};
};
nitter = { name, nodes, pkgs, ... }: {
deployment = {
targetHost = "nitter.vs.grzb.de";
2023-07-13 20:56:30 +02:00
targetUser = "colmena-deploy";
2023-07-10 15:30:51 +02:00
};
imports = [
./configuration/common
./configuration/proxmox-vm
./hosts/nitter
];
};
coturn = { name, nodes, pkgs, ... }: {
deployment = {
targetHost = "nixos-coturn.vs.grzb.de";
2023-07-13 20:56:30 +02:00
targetUser = "colmena-deploy";
2023-07-10 15:30:51 +02:00
};
imports = [
./configuration/common
./configuration/proxmox-vm
./hosts/coturn
];
};
2023-07-15 23:29:19 +02:00
tor-relay = { name, nodes, pkgs, ...}: {
deployment = {
targetHost = "tor-relay.vs.grzb.de";
targetUser = "colmena-deploy";
};
imports = [
./configuration/common
./configuration/proxmox-vm
./hosts/tor-relay
];
};
2023-07-10 15:30:51 +02:00
};
};
}