Unverified Commit b12b45ea authored by Atemu's avatar Atemu Committed by GitHub
Browse files

nixos/i2pd: fix build (#345879)

parents bbaa8c96 1d8136e1
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
{ config, lib, pkgs, ... }:

let
  inherit (lib) mkIf mkOption mkEnableOption types optional optionals;
  inherit (lib.types) nullOr bool listOf str;
  inherit (lib) mkIf mkOption mkDefault mkEnableOption types optional optionals;
  inherit (lib.types) nullOr bool listOf str attrsOf submodule;

  cfg = config.services.i2pd;

@@ -618,7 +618,7 @@ in

      outTunnels = mkOption {
        default = {};
        type = with types; attrsOf (submodule (
        type = attrsOf (submodule (
          { name, ... }: {
            options = {
              destinationPort = mkOption {
@@ -639,7 +639,7 @@ in

      inTunnels = mkOption {
        default = {};
        type = with types; attrsOf (submodule (
        type = attrsOf (submodule (
          { name, ... }: {
            options = {
              inPort = mkOption {