1
0
vcp-bula-nixfiles/flake.nix
2022-07-13 21:40:27 +02:00

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