update tinyproxy options prefix after nixpkgs update
This commit is contained in:
parent
b807ebc7ce
commit
62872a1fc1
2 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.services.tinyproxy;
|
cfg = config.shb.tinyproxy;
|
||||||
|
|
||||||
mkValueStringTinyproxy = with lib; v:
|
mkValueStringTinyproxy = with lib; v:
|
||||||
if true == v then "yes"
|
if true == v then "yes"
|
||||||
|
@ -99,7 +99,7 @@ in
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services.tinyproxy = mkOption {
|
shb.tinyproxy = mkOption {
|
||||||
description = "Tinyproxy instances.";
|
description = "Tinyproxy instances.";
|
||||||
default = {};
|
default = {};
|
||||||
type = types.attrsOf instanceOption;
|
type = types.attrsOf instanceOption;
|
||||||
|
|
|
@ -293,7 +293,7 @@ in
|
||||||
networking.iproute2.rttablesExtraConfig =
|
networking.iproute2.rttablesExtraConfig =
|
||||||
lib.concatStringsSep "\n" (lib.mapAttrsToList (name: c: "${toString c.routingNumber} ${name}") cfg);
|
lib.concatStringsSep "\n" (lib.mapAttrsToList (name: c: "${toString c.routingNumber} ${name}") cfg);
|
||||||
|
|
||||||
services.tinyproxy =
|
shb.tinyproxy =
|
||||||
let
|
let
|
||||||
instanceConfig = name: c: lib.mkIf (c.enable && c.proxyPort != null) {
|
instanceConfig = name: c: lib.mkIf (c.enable && c.proxyPort != null) {
|
||||||
${name} = {
|
${name} = {
|
||||||
|
|
Loading…
Reference in a new issue