1
0
vcp-bula-nixfiles/flake.nix
Ember 'n0emis' Keske 4300a66aaf
bootstrap host yate
2022-07-16 21:32:14 +02:00

67 lines
1.5 KiB
Nix

{
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
];
deployment.targetUser = null;
};
dns = { config, pkgs, ... }: {
deployment.targetHost = "dns.bula22.de";
};
monitoring = { config, pkgs, ... }: {
deployment.targetHost = "monitoring.bula22.de";
};
nixdeploy = {...}: {
deployment.targetHost = "nixdeploy.bula22.de";
deployment.allowLocalDeployment = true;
};
nerd = { ... }: {
deployment.targetHost = "nerd.bula22.de";
};
yate = { ... }: {
deployment.targetHost = "yate.bula22.de";
};
pre-router = { config, pkgs, ... }: {
deployment.targetHost = "lightbuffet.bula22.de";
deployment.keys = {
};
};
pre-yate-n0emis = { config, pkgs, ... }: {
deployment.targetHost = "2001:470:7694::5e5";
};
router = { config, pkgs, ... }: {
deployment.targetHost = "router.bula22.de";
};
};
};
}