roles/printserver: fix reference to allowedWebClients
This commit is contained in:
@@ -41,7 +41,7 @@ in
|
||||
config =
|
||||
let
|
||||
serverAliasesText = lib.concatStringsSep "\n" (
|
||||
map (client: "ServerAlias ${client}") allowedWebClients
|
||||
map (client: "ServerAlias ${client}") cfg.allowedWebClients
|
||||
);
|
||||
in
|
||||
mkIf cfg.enable {
|
||||
@@ -78,7 +78,7 @@ in
|
||||
Listen 0.0.0.0:631
|
||||
BrowseLocalProtocols dnssd
|
||||
|
||||
${lib.optionalString (allowedWebClients != [ ]) serverAliasesText}
|
||||
${lib.optionalString (cfg.allowedWebClients != [ ]) serverAliasesText}
|
||||
|
||||
DefaultAuthType Basic
|
||||
|
||||
|
Reference in New Issue
Block a user