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