Dedicated file for hosts definition
This commit is contained in:
parent
d036dfb270
commit
8b954340fb
2 changed files with 196 additions and 93 deletions
102
hosts/hosts.nix
Normal file
102
hosts/hosts.nix
Normal file
|
|
@ -0,0 +1,102 @@
|
|||
{ inputs, ... }:
|
||||
{
|
||||
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 = "192.168.1.189";
|
||||
tags = [
|
||||
"lxc"
|
||||
"bacco"
|
||||
"arr"
|
||||
];
|
||||
};
|
||||
|
||||
caddy.deployment = {
|
||||
targetHost = "192.168.1.150";
|
||||
tags = [
|
||||
"lxc"
|
||||
"bacco"
|
||||
"arr"
|
||||
"auth"
|
||||
"metrics"
|
||||
"nextcloud"
|
||||
"portainer"
|
||||
"vaultwarden"
|
||||
];
|
||||
};
|
||||
|
||||
metrics.deployment = {
|
||||
targetHost = "192.168.1.152";
|
||||
tags = [
|
||||
"lxc"
|
||||
"bacco"
|
||||
"metrics"
|
||||
];
|
||||
};
|
||||
|
||||
nextcloud.deployment = {
|
||||
targetHost = "192.168.1.103";
|
||||
tags = [
|
||||
"lxc"
|
||||
"bacco"
|
||||
"nextcloud"
|
||||
];
|
||||
};
|
||||
|
||||
vaultwarden.deployment = {
|
||||
targetHost = "192.168.1.154";
|
||||
tags = [
|
||||
"lxc"
|
||||
"bacco"
|
||||
"vaultwarden"
|
||||
];
|
||||
};
|
||||
|
||||
plex.deployment = {
|
||||
targetHost = "192.168.1.155";
|
||||
tags = [
|
||||
"lxc"
|
||||
"node"
|
||||
];
|
||||
};
|
||||
|
||||
portainer.deployment = {
|
||||
targetHost = "192.168.1.156";
|
||||
tags = [
|
||||
"lxc"
|
||||
"node"
|
||||
"portainer"
|
||||
];
|
||||
};
|
||||
|
||||
authentik.deployment = {
|
||||
targetHost = "192.168.1.157";
|
||||
tags = [
|
||||
"lxc"
|
||||
"node"
|
||||
"auth"
|
||||
];
|
||||
};
|
||||
|
||||
colmena.deployment = {
|
||||
targetHost = "192.168.1.158";
|
||||
tags = [
|
||||
"lxc"
|
||||
"node"
|
||||
];
|
||||
};
|
||||
|
||||
deadbeef.deployment = {
|
||||
allowLocalDeployment = true;
|
||||
targetHost = null;
|
||||
tags = [ "local" ];
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue