1
0
vcp-bula-nixfiles/flake.nix

78 lines
1.8 KiB
Nix
Raw Normal View History

2022-07-07 11:15:52 +02:00
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, sops-nix, ... }: {
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
sops-nix.nixosModules.sops
];
2022-07-07 11:15:52 +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
};
pre-router = { config, pkgs, ... }: {
deployment.targetHost = "fd00:10:42:10::25";
deployment.keys = {
2022-07-07 11:15:52 +02:00
};
};
pre-yate-n0emis = { config, pkgs, ... }: {
2022-07-07 20:07:53 +02:00
deployment.targetHost = "2001:470:7694::5e5";
};
2022-07-12 20:33:17 +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
};
};
}