[bot] nixos/*: remove unused arguments in lambdas

This commit is contained in:
volth
2018-07-20 20:56:59 +00:00
parent 1a6af9f88e
commit 2e979e8ceb
279 changed files with 419 additions and 424 deletions
@@ -226,7 +226,7 @@ in
default = [];
example = lib.literalExample "[ ({ original = pkgs.openssl; replacement = pkgs.callPackage /path/to/openssl { }; }) ]";
type = types.listOf (types.submodule (
{ options, ... }: {
{ ... }: {
options.original = mkOption {
type = types.package;
description = "The original package to override.";
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ pkgs, lib, ... }:
{
config = lib.mkIf (pkgs.kexectools.meta.available) {
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, ... }:
with lib;
+1 -1
View File
@@ -523,7 +523,7 @@ let
};
networkConfig = { name, config, ... }: {
networkConfig = { config, ... }: {
config = {
matchConfig = optionalAttrs (config.name != null) {
Name = config.name;
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, lib, ... }:
with lib;
let
+3 -3
View File
@@ -193,7 +193,7 @@ let
x = pkgs.writeTextFile { name = "unit-script"; executable = true; destination = "/bin/${mkScriptName name}"; inherit text; };
in "${x}/bin/${mkScriptName name}";
unitConfig = { name, config, ... }: {
unitConfig = { config, ... }: {
config = {
unitConfig =
optionalAttrs (config.requires != [])
@@ -275,7 +275,7 @@ let
];
};
mountConfig = { name, config, ... }: {
mountConfig = { config, ... }: {
config = {
mountConfig =
{ What = config.what;
@@ -288,7 +288,7 @@ let
};
};
automountConfig = { name, config, ... }: {
automountConfig = { config, ... }: {
config = {
automountConfig =
{ Where = config.where;
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, lib, ... }:
with lib;