nixos-config/machines/default.nix

172 lines
4.1 KiB
Nix

inputs: {
ci = {
config = import ./ci/configuration.nix inputs;
# deploy = {
# # host = "10.0.0.202";
# host = "ci.barn-beaver.ts.net";
# targetUser = "erwin";
# buildOn = "local";
# substituteOnTarget = true;
# tags = [ "container" ];
# };
};
factorio = {
config = import ./factorio/configuration.nix inputs;
deploy = {
host = "10.0.0.82";
# host = "factorio.barn-beaver.ts.net";
targetUser = "erwin";
tags = [ "container" ];
};
};
frigate = {
config = import ./frigate/configuration.nix inputs;
deploy = {
# host = "10.0.0.205";
host = "frigate.barn-beaver.ts.net";
targetUser = "erwin";
tags = [ "container" ];
};
};
gitea = {
config = import ./gitea/configuration.nix inputs;
deploy = {
# host = "10.0.0.203";
host = "gitea.barn-beaver.ts.net";
targetUser = "erwin";
tags = [ "container" ];
};
};
gitea-runner = {
config = import ./gitea-runner/configuration.nix inputs;
deploy = {
# host = "10.0.0.210";
host = "gitea-runner.barn-beaver.ts.net";
targetUser = "erwin";
tags = [ "container" ];
};
};
heimdall = {
config = import ./heimdall/configuration.nix inputs;
deploy = {
# host = "heimdall.datarift.nl";
host = "heimdall.barn-beaver.ts.net";
targetUser = "erwin";
tags = [ "metal" ];
};
};
k3s-test = {
config = import ./k3s-test/configuration.nix inputs;
deploy = {
# host = "10.0.0.208";
host = "k3s-test.barn-beaver.ts.net";
targetUser = "erwin";
# tags = [ "container" ];
};
};
loki = {
config = import ./loki/configuration.nix inputs;
};
meili = {
config = import ./meili/configuration.nix inputs;
deploy = {
# host = "10.0.0.214";
host = "meili.barn-beaver.ts.net";
targetUser = "erwin";
tags = [ "container" ];
};
};
mimir = {
config = import ./mimir/configuration.nix inputs;
};
minio = {
config = import ./minio/configuration.nix inputs;
deploy = {
# host = "10.0.0.204";
host = "minio.barn-beaver.ts.net";
targetUser = "erwin";
tags = [ "container" ];
};
};
neo = {
config = import ./neo/configuration.nix inputs;
deploy = {
# host = "10.0.0.213";
host = "neo.barn-beaver.ts.net";
targetUser = "erwin";
# tags = [ "container" ];
};
};
nix-cache = {
config = import ./nix-cache/configuration.nix inputs;
deploy = {
# host = "10.0.0.209";
host = "nix-cache.barn-beaver.ts.net";
targetUser = "erwin";
tags = [ "container" ];
};
};
odin = {
config = import ./odin/configuration.nix inputs;
deploy = {
# host = "10.0.0.252";
host = "odin.barn-beaver.ts.net";
tags = [ "metal" ];
};
};
read = {
config = import ./read/configuration.nix inputs;
deploy = {
# host = "10.0.0.101";
host = "read.barn-beaver.ts.net";
tags = [ "container" ];
};
};
proxy = {
config = import ./proxy/configuration.nix inputs;
deploy = {
# host = "10.0.0.251";
host = "proxy.barn-beaver.ts.net";
targetUser = "erwin";
tags = [ "container" ];
};
};
regin = {
system = "aarch64-linux";
config = import ./regin/configuration.nix inputs;
};
saga = {
config = import ./saga/configuration.nix inputs;
deploy = {
# host = "10.0.0.212";
host = "saga.barn-beaver.ts.net";
targetUser = "erwin";
tags = [ "container" ];
};
};
thor = {
system = "aarch64-linux";
config = import ./thor/configuration.nix inputs;
# deploy = {
# host = "10.0.0.198";
# targetUser = "erwin";
# };
};
unifi = {
config = import ./unifi/configuration.nix inputs;
deploy = {
# host = "10.0.0.207";
host = "unifi.barn-beaver.ts.net";
targetUser = "erwin";
};
};
valkyrie = {
config = import ./valkyrie/configuration.nix inputs;
deploy = {
# host = "10.0.0.206";
host = "valkyrie.barn-beaver.ts.net";
targetUser = "erwin";
tags = [ "container" ];
};
};
}