[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
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, lib, ... }:
{
options = {
ec2 = {
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, pkgs, ... }:
with lib;
{
@@ -1,4 +1,4 @@
{ config, pkgs, modulesPath, ... }:
{ modulesPath, ... }:
{
# To build the configuration or use nix-env, you need to run
@@ -1,4 +1,4 @@
{ config, pkgs, modulesPath, ... }:
{ modulesPath, ... }:
{
imports = [ "${modulesPath}/virtualisation/azure-image.nix" ];
@@ -1,4 +1,4 @@
{ config, pkgs, modulesPath, ... }:
{ modulesPath, ... }:
{
imports = [ "${modulesPath}/virtualisation/brightbox-image.nix" ];
+2 -2
View File
@@ -257,7 +257,7 @@ let
system = config.nixpkgs.localSystem.system;
bindMountOpts = { name, config, ... }: {
bindMountOpts = { name, ... }: {
options = {
mountPoint = mkOption {
@@ -284,7 +284,7 @@ let
};
allowedDeviceOpts = { name, config, ... }: {
allowedDeviceOpts = { ... }: {
options = {
node = mkOption {
example = "/dev/net/tun";
@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ ... }:
{
imports = [
@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ ... }:
{
imports = [ <nixpkgs/nixos/modules/virtualisation/google-compute-image.nix> ];
@@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ lib, ... }:
with lib;
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, ... }:
with lib;
+1 -1
View File
@@ -1,6 +1,6 @@
# Common configuration for Xen DomU NixOS virtual machines.
{ config, pkgs, ... }:
{ ... }:
{
boot.loader.grub.version = 2;