nix-infra/flake.nix

40 lines
851 B
Nix
Raw Normal View History

2024-11-20 05:46:39 +01:00
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
2024-11-20 05:46:39 +01:00
};
outputs = { nixpkgs, ... }: {
colmena = {
meta = {
nixpkgs = import nixpkgs {
system = "x86_64-linux";
};
};
nitter = { name, nodes, pkgs, ... }: {
deployment = {
targetHost = "nitter.vs.grzb.de";
2024-11-20 05:46:39 +01:00
targetUser = "colmena-deploy";
2024-11-20 05:46:39 +01:00
};
imports = [
./configuration/common
./configuration/proxmox-vm
./hosts/nitter
];
};
coturn = { name, nodes, pkgs, ... }: {
deployment = {
targetHost = "nixos-coturn.vs.grzb.de";
2024-11-20 05:46:39 +01:00
targetUser = "colmena-deploy";
2024-11-20 05:46:39 +01:00
};
imports = [
./configuration/common
./configuration/proxmox-vm
./hosts/coturn
];
};
};
};
}