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;
|
||||
|
||||
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;
|
||||
|
|
|
@ -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} = {
|
||||
|
|
Loading…
Reference in a new issue