2022-07-07 11:15:52 +02:00
|
|
|
{
|
2022-07-07 19:46:59 +02:00
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
2022-07-13 21:39:57 +02:00
|
|
|
sops-nix = {
|
|
|
|
url = "github:Mic92/sops-nix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2022-07-07 19:46:59 +02:00
|
|
|
};
|
2022-07-13 21:39:57 +02:00
|
|
|
outputs = { nixpkgs, sops-nix, ... }: {
|
2022-07-07 19:46:59 +02:00
|
|
|
colmena = {
|
|
|
|
meta = {
|
|
|
|
nixpkgs = import nixpkgs {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
overlays = [ (final: prev: import ./packages final prev) ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
defaults = { config, lib, name, ... }: {
|
|
|
|
imports = [
|
|
|
|
(./. + "/hosts/${name}/configuration.nix")
|
|
|
|
./modules
|
|
|
|
./common
|
2022-07-13 21:39:57 +02:00
|
|
|
sops-nix.nixosModules.sops
|
2022-07-07 19:46:59 +02:00
|
|
|
];
|
2022-07-07 11:15:52 +02:00
|
|
|
|
2022-07-07 19:46:59 +02:00
|
|
|
deployment.targetUser = null;
|
|
|
|
};
|
|
|
|
|
2022-07-14 21:04:08 +02:00
|
|
|
dns = { config, pkgs, ... }: {
|
|
|
|
deployment.targetHost = "dns.bula22.de";
|
|
|
|
};
|
|
|
|
|
2022-07-11 22:37:26 +02:00
|
|
|
monitoring = { config, pkgs, ... }: {
|
|
|
|
deployment.targetHost = "monitoring.bula22.de";
|
|
|
|
};
|
|
|
|
|
2022-07-07 20:07:53 +02:00
|
|
|
nixdeploy = {...}: {
|
|
|
|
deployment.targetHost = "nixdeploy.bula22.de";
|
|
|
|
deployment.allowLocalDeployment = true;
|
|
|
|
};
|
|
|
|
|
2022-07-10 18:49:41 +02:00
|
|
|
nerd = { ... }: {
|
|
|
|
deployment.targetHost = "nerd.bula22.de";
|
2022-07-17 23:10:29 +02:00
|
|
|
deployment.tags = [ "dect" ];
|
2022-07-10 18:49:41 +02:00
|
|
|
};
|
|
|
|
|
2022-07-16 21:32:14 +02:00
|
|
|
yate = { ... }: {
|
|
|
|
deployment.targetHost = "yate.bula22.de";
|
2022-07-17 23:10:29 +02:00
|
|
|
deployment.tags = [ "dect" "yate" ];
|
2022-07-16 21:32:14 +02:00
|
|
|
};
|
|
|
|
|
2022-07-17 23:01:55 +02:00
|
|
|
yate-dialup = { ... }: {
|
|
|
|
deployment.targetHost = "yate-dialup.bula22.de";
|
2022-07-17 23:10:29 +02:00
|
|
|
deployment.tags = [ "dect" "yate" ];
|
2022-07-17 23:01:55 +02:00
|
|
|
};
|
|
|
|
|
2022-07-07 19:46:59 +02:00
|
|
|
pre-router = { config, pkgs, ... }: {
|
2022-07-17 13:28:14 +02:00
|
|
|
deployment.targetHost = "fd00:10:42:10::25";
|
2022-07-07 19:46:59 +02:00
|
|
|
deployment.keys = {
|
2022-07-07 11:15:52 +02:00
|
|
|
|
|
|
|
};
|
2022-07-07 19:46:59 +02:00
|
|
|
};
|
|
|
|
|
2022-07-18 21:08:09 +02:00
|
|
|
radius = { config, pkgs, ... }: {
|
|
|
|
deployment.targetHost = "radius.bula22.de";
|
|
|
|
};
|
|
|
|
|
2022-07-12 20:33:17 +02:00
|
|
|
router = { config, pkgs, ... }: {
|
|
|
|
deployment.targetHost = "router.bula22.de";
|
|
|
|
};
|
2022-07-07 11:15:52 +02:00
|
|
|
};
|
2022-07-07 19:46:59 +02:00
|
|
|
};
|
|
|
|
}
|