Add proxy to krops

This commit is contained in:
Erwin Boskma 2022-01-25 08:33:18 +01:00
parent a1d4a866a2
commit 74ae057d56
Signed by: erwin
GPG key ID: 270B20D17394F7E5
2 changed files with 13 additions and 0 deletions

View file

@ -151,9 +151,21 @@
(import (./machines/drone/configuration.nix) { inherit self; }) (import (./machines/drone/configuration.nix) { inherit self; })
]; ];
}; };
proxy = defSystem "x86_64-linux" {
imports = [
(import (./machines/proxy/configuration.nix) { inherit self; })
];
};
}; };
nixosContainers = { nixosContainers = {
drone = defContainer "x86_64-linux" {
imports = [
(import (./machines/drone/configuration.nix) { inherit self; })
];
};
proxy = defContainer "x86_64-linux" { proxy = defContainer "x86_64-linux" {
imports = [ imports = [
(import (./machines/proxy/configuration.nix) { inherit self; }) (import (./machines/proxy/configuration.nix) { inherit self; })

View file

@ -33,4 +33,5 @@ rec {
loki = createHost "loki" "root@loki"; loki = createHost "loki" "root@loki";
drone = createHost "drone" "root@10.0.0.202"; drone = createHost "drone" "root@10.0.0.202";
proxy = createHost "proxy" "root@10.0.0.251";
} }