flake: migrate deploy to flake
This commit is contained in:
56
flake.nix
Normal file
56
flake.nix
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
};
|
||||
outputs = { nixpkgs, ... }: {
|
||||
colmena = {
|
||||
meta = {
|
||||
nixpkgs = import nixpkgs {};
|
||||
};
|
||||
|
||||
defaults = { name, ... }: {
|
||||
imports = [
|
||||
(./. + "/hosts/${name}/configuration.nix")
|
||||
];
|
||||
deployment = {
|
||||
targetHost = "${name}.net.clerie.de";
|
||||
targetUser = null;
|
||||
};
|
||||
};
|
||||
|
||||
# Hosts
|
||||
|
||||
backup-4 = { ... }: {};
|
||||
|
||||
carbon = { ... }: {};
|
||||
|
||||
clerie-backup = { ... }: {};
|
||||
|
||||
dn42-il-gw1 = { ... }: {};
|
||||
|
||||
dn42-il-gw5 = { ... }: {};
|
||||
|
||||
dn42-il-gw6 = { ... }: {};
|
||||
|
||||
dn42-ildix-clerie = { ... }: {};
|
||||
|
||||
gatekeeper = { ... }: {};
|
||||
|
||||
minecraft-2 = { ... }: {};
|
||||
|
||||
monitoring-3 = { ... }: {};
|
||||
|
||||
nonat = { ... }: {};
|
||||
|
||||
osmium = { ... }: {};
|
||||
|
||||
palladium = { ... }: {};
|
||||
|
||||
porter = { ... }: {};
|
||||
|
||||
storage-2 = { ... }: {};
|
||||
|
||||
web-2 = { ... }: {};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user