roles/printserver: use cupsGuiPort variable

This commit is contained in:
2025-09-01 16:15:15 -07:00
parent 4d8372370f
commit 5c5ce91c54

View File

@@ -13,6 +13,7 @@ with lib;
let
cfg = config.printserver;
cupsGuiPort = 631;
in
{
options.printserver = {
@@ -131,7 +132,7 @@ in
enable = true;
virtualHosts."${config.networking.hostName}.tail755c5.ts.net" = {
extraConfig = ''
reverse_proxy localhost:631
reverse_proxy localhost:${toString cupsGuiPort}
'';
};
};