1
0
Fork 0

update tinyproxy options prefix after nixpkgs update

This commit is contained in:
ibizaman 2023-11-14 00:15:43 -08:00
parent b807ebc7ce
commit 62872a1fc1
2 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@
with lib;
let
cfg = config.services.tinyproxy;
cfg = config.shb.tinyproxy;
mkValueStringTinyproxy = with lib; v:
if true == v then "yes"
@ -99,7 +99,7 @@ in
};
in
{
services.tinyproxy = mkOption {
shb.tinyproxy = mkOption {
description = "Tinyproxy instances.";
default = {};
type = types.attrsOf instanceOption;

View file

@ -293,7 +293,7 @@ in
networking.iproute2.rttablesExtraConfig =
lib.concatStringsSep "\n" (lib.mapAttrsToList (name: c: "${toString c.routingNumber} ${name}") cfg);
services.tinyproxy =
shb.tinyproxy =
let
instanceConfig = name: c: lib.mkIf (c.enable && c.proxyPort != null) {
${name} = {