Compare commits
No commits in common. "5da86732447934752a7dd41e73b7fa686a28c339" and "69bccfd2e6a66cbd82860b79960bf7112e9a3d2e" have entirely different histories.
5da8673244
...
69bccfd2e6
7 changed files with 14 additions and 7 deletions
|
|
@ -19,7 +19,7 @@ in
|
|||
enable = false;
|
||||
};
|
||||
networking = {
|
||||
hostName = "base-tofu";
|
||||
hostName = "base";
|
||||
};
|
||||
environment.systemPackages = [
|
||||
];
|
||||
|
|
@ -16,9 +16,10 @@ in
|
|||
];
|
||||
deploy = {
|
||||
enable = false;
|
||||
address = "unknown.local";
|
||||
};
|
||||
networking = {
|
||||
hostName = "caddy-tofu";
|
||||
hostName = "caddy";
|
||||
};
|
||||
environment.systemPackages = [
|
||||
];
|
||||
|
|
@ -62,6 +62,9 @@ in
|
|||
};
|
||||
};
|
||||
};
|
||||
deploy = {
|
||||
address = "201:ea26:66c7:657b:3599:63a6:c66c:d388";
|
||||
};
|
||||
networking = {
|
||||
firewall.enable = lib.mkForce false;
|
||||
hostName = "forgejo-runner-tofu";
|
||||
|
|
|
|||
|
|
@ -15,6 +15,9 @@ in
|
|||
self.nixosModules.default
|
||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
||||
];
|
||||
deploy = {
|
||||
address = "200:7e25:554c:6df3:2c5:2de:6f9f:a96d";
|
||||
};
|
||||
networking = {
|
||||
hostName = "link-warden-tofu";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ in
|
|||
enable = false;
|
||||
};
|
||||
networking = {
|
||||
hostName = "medchart-tofu";
|
||||
hostName = "medchart";
|
||||
};
|
||||
environment.systemPackages = [
|
||||
];
|
||||
|
|
|
|||
|
|
@ -15,6 +15,9 @@ in
|
|||
self.nixosModules.default
|
||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
||||
];
|
||||
deploy = {
|
||||
address = "200:b938:d405:92df:a6e:1ffd:5213:26b";
|
||||
};
|
||||
services = {
|
||||
uptime-kuma = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
{ lib, config, ... }:
|
||||
let
|
||||
hosts = builtins.fromJSON (builtins.readFile ../../../container_ips.json);
|
||||
in
|
||||
{
|
||||
options.deploy = {
|
||||
enable = lib.mkEnableOption "enable deployrs module" // {
|
||||
|
|
@ -9,7 +6,7 @@ in
|
|||
};
|
||||
address = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = hosts.${config.networking.hostName};
|
||||
default = config.networking.hostName;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue