feat: massive refactoring...

This commit is contained in:
Xavier Morel
2025-11-09 00:45:00 +01:00
parent f9446df46d
commit 3245b6b89f
77 changed files with 3233 additions and 582 deletions

View File

@@ -0,0 +1,44 @@
{ ... }:
{
globals = {
ip_prefix = "10.0.0.";
cidr = 24;
gateway = "10.0.0.1";
domains = {
internal = ".local";
external = ".example.tld";
};
master = {
login = "me";
email = "my@self";
initial_htpasswd = "######";
public_ssh_key = "ssh-ed25519 ############";
};
default_tz = "UTC";
country_code = "eu";
currency = "EUR";
dns_provider = "cloudflare";
other_hosts = [
{
hostname = "homeassistant";
private = false;
auth = false;
addr = "http://10.0.0.42:8123/";
}
{
hostname = "proxmox";
private = true;
auth = false;
addr = "https://10.0.0.69:8006/";
useCustomCA = true;
}
{
hostname = "nas";
private = true;
auth = false;
addr = "http://10.0.0.99:5000/";
}
];
};
}