summary refs log tree commit diff
path: root/nixos/modules/services/security
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2018-07-20 20:56:59 +0000
committervolth <volth@volth.com>2018-07-20 20:56:59 +0000
commit2e979e8ceb45c2c251ed189c28a736fec7539c15 (patch)
treefd52e30ca330b554dec73b71694f916308dda5de /nixos/modules/services/security
parent1a6af9f88ec2405334a9fd6a977ccbcb53472305 (diff)
downloadnixlib-2e979e8ceb45c2c251ed189c28a736fec7539c15.tar
nixlib-2e979e8ceb45c2c251ed189c28a736fec7539c15.tar.gz
nixlib-2e979e8ceb45c2c251ed189c28a736fec7539c15.tar.bz2
nixlib-2e979e8ceb45c2c251ed189c28a736fec7539c15.tar.lz
nixlib-2e979e8ceb45c2c251ed189c28a736fec7539c15.tar.xz
nixlib-2e979e8ceb45c2c251ed189c28a736fec7539c15.tar.zst
nixlib-2e979e8ceb45c2c251ed189c28a736fec7539c15.zip
[bot] nixos/*: remove unused arguments in lambdas
Diffstat (limited to 'nixos/modules/services/security')
-rw-r--r--nixos/modules/services/security/oauth2_proxy_nginx.nix2
-rw-r--r--nixos/modules/services/security/tor.nix4
2 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/security/oauth2_proxy_nginx.nix b/nixos/modules/services/security/oauth2_proxy_nginx.nix
index 2aa2c57fd22c..a9ad5497a657 100644
--- a/nixos/modules/services/security/oauth2_proxy_nginx.nix
+++ b/nixos/modules/services/security/oauth2_proxy_nginx.nix
@@ -1,4 +1,4 @@
-{ pkgs, config, lib, ... }:
+{ config, lib, ... }:
 with lib;
 let
   cfg = config.services.oauth2_proxy.nginx;
diff --git a/nixos/modules/services/security/tor.nix b/nixos/modules/services/security/tor.nix
index dcb41d187c2b..def77ba69e58 100644
--- a/nixos/modules/services/security/tor.nix
+++ b/nixos/modules/services/security/tor.nix
@@ -578,7 +578,7 @@ in
             ];
           }
         '';
-        type = types.loaOf (types.submodule ({name, config, ...}: {
+        type = types.loaOf (types.submodule ({name, ...}: {
           options = {
 
              name = mkOption {
@@ -638,7 +638,7 @@ in
              authorizeClient = mkOption {
                default = null;
                description = "If configured, the hidden service is accessible for authorized clients only.";
-               type = types.nullOr (types.submodule ({config, ...}: {
+               type = types.nullOr (types.submodule ({...}: {
 
                  options = {