Rename baseDomain to domain
All checks were successful
/ check (push) Successful in 1m15s

This commit is contained in:
Oliver Davies 2025-05-03 01:13:51 +01:00
parent f70d9c51e3
commit 92ded26806
12 changed files with 20 additions and 20 deletions

View file

@ -23,7 +23,7 @@ in
};
url = mkOption {
default = "${config.networking.hostName}.${homelab.baseDomain}";
default = "${config.networking.hostName}.${homelab.domain}";
type = types.str;
};
};
@ -64,7 +64,7 @@ in
nginx.virtualHosts.${cfg.url} = {
forceSSL = true;
useACMEHost = homelab.baseDomain;
useACMEHost = homelab.domain;
locations."/".proxyPass =
"http://localhost:${toString config.services.homepage-dashboard.listenPort}";

View file

@ -12,7 +12,7 @@ in
enable = mkEnableOption "Enable ${service}";
url = mkOption {
default = "uptime.${homelab.baseDomain}";
default = "uptime.${homelab.domain}";
type = types.str;
};
@ -43,7 +43,7 @@ in
nginx.virtualHosts.${cfg.url} = {
forceSSL = true;
useACMEHost = homelab.baseDomain;
useACMEHost = homelab.domain;
locations."/" = {
proxyPass = "http://localhost:${toString config.services.${service}.settings.PORT}";

View file

@ -17,7 +17,7 @@ in
enable = mkEnableOption "Enable ${service}";
url = mkOption {
default = "${service}.${homelab.baseDomain}";
default = "${service}.${homelab.domain}";
type = types.str;
};