163 lines
2.4 KiB
Nix
163 lines
2.4 KiB
Nix
{ inputs, ... }:
|
|
let
|
|
p = import ./parameters.nix;
|
|
hosts = p.hosts;
|
|
in
|
|
{
|
|
meta = {
|
|
nixpkgs = import inputs.nixpkgs {
|
|
system = "x86_64-linux";
|
|
overlays = [ ];
|
|
};
|
|
nodeNixpkgs = builtins.mapAttrs (_: v: v.pkgs) inputs.self.nixosConfigurations;
|
|
nodeSpecialArgs = builtins.mapAttrs (_: v: v._module.specialArgs) inputs.self.nixosConfigurations;
|
|
};
|
|
|
|
arr.deployment = {
|
|
targetHost = hosts.arr;
|
|
tags = [
|
|
"lxc"
|
|
"bacco"
|
|
"arr"
|
|
];
|
|
};
|
|
|
|
caddy.deployment = {
|
|
targetHost = hosts.caddy;
|
|
tags = [
|
|
"lxc"
|
|
"bacco"
|
|
"arr"
|
|
"auth"
|
|
"metrics"
|
|
"nextcloud"
|
|
"portainer"
|
|
"vaultwarden"
|
|
"immich"
|
|
"paperless"
|
|
];
|
|
};
|
|
|
|
metrics.deployment = {
|
|
targetHost = hosts.metrics;
|
|
tags = [
|
|
"lxc"
|
|
"bacco"
|
|
"metrics"
|
|
];
|
|
};
|
|
|
|
nextcloud.deployment = {
|
|
targetHost = hosts.nextcloud;
|
|
tags = [
|
|
"lxc"
|
|
"bacco"
|
|
"nextcloud"
|
|
];
|
|
};
|
|
|
|
vaultwarden.deployment = {
|
|
targetHost = hosts.vaultwarden;
|
|
tags = [
|
|
"lxc"
|
|
"bacco"
|
|
"vaultwarden"
|
|
];
|
|
};
|
|
|
|
plex.deployment = {
|
|
targetHost = hosts.plex;
|
|
tags = [
|
|
"lxc"
|
|
"node"
|
|
];
|
|
};
|
|
|
|
portainer.deployment = {
|
|
targetHost = hosts.portainer;
|
|
tags = [
|
|
"lxc"
|
|
"bacco"
|
|
"portainer"
|
|
];
|
|
};
|
|
|
|
authentik.deployment = {
|
|
targetHost = hosts.authentik;
|
|
tags = [
|
|
"lxc"
|
|
"bacco"
|
|
"auth"
|
|
];
|
|
};
|
|
|
|
colmena.deployment = {
|
|
targetHost = hosts.colmena;
|
|
tags = [
|
|
"lxc"
|
|
"bacco"
|
|
"colmena"
|
|
];
|
|
};
|
|
|
|
dns01.deployment = {
|
|
targetHost = hosts.dns01;
|
|
tags = [
|
|
"lxc"
|
|
"bacco"
|
|
"dns"
|
|
];
|
|
};
|
|
|
|
dns02.deployment = {
|
|
targetHost = hosts.dns02;
|
|
tags = [
|
|
"lxc"
|
|
"bacco"
|
|
"dns"
|
|
];
|
|
};
|
|
|
|
shadowsocks.deployment = {
|
|
targetHost = hosts.shadowsocks;
|
|
tags = [
|
|
"lxc"
|
|
"bacco"
|
|
"shadowsocks"
|
|
];
|
|
};
|
|
|
|
immich.deployment = {
|
|
targetHost = hosts.immich;
|
|
tags = [
|
|
"lxc"
|
|
"bacco"
|
|
"immich"
|
|
];
|
|
};
|
|
|
|
open-webui.deployment = {
|
|
targetHost = hosts.open-webui;
|
|
tags = [
|
|
"lxc"
|
|
"bacco"
|
|
"open-webui"
|
|
];
|
|
};
|
|
|
|
paperless.deployment = {
|
|
targetHost = hosts.paperless;
|
|
tags = [
|
|
"lxc"
|
|
"bacco"
|
|
"paperless"
|
|
];
|
|
};
|
|
|
|
deadbeef.deployment = {
|
|
allowLocalDeployment = true;
|
|
targetHost = null;
|
|
tags = [ "local" ];
|
|
};
|
|
|
|
}
|