treewide: apply deadnix and statix

This commit is contained in:
Jörg Thalheim
2022-12-31 11:52:38 +01:00
parent d7dfd13d25
commit 03c6d15152
117 changed files with 93 additions and 162 deletions

View File

@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, pkgs, ... }:
let
inherit (lib) mkDefault;

View File

@@ -1,7 +1,7 @@
{ stdenv, lib, pkgs, firmwareLinuxNonfree, ... }:
let
repos = (pkgs.callPackage ../../../repos.nix {});
repos = pkgs.callPackage ../../../repos.nix {};
killernetworking_firmware = repos.surface-go-ath10k-firmware_backup + "/K1535_Debian";
in stdenv.mkDerivation {

View File

@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, ... }:
let
inherit (lib) mkOption types;

View File

@@ -1,12 +1,11 @@
{ lib,
buildLinux,
callPackage,
fetchurl,
linuxPackagesFor,
}:
let
inherit (lib) kernel recurseIntoAttrs;
inherit (lib) recurseIntoAttrs;
in {
repos = callPackage ../repos.nix {};

View File

@@ -1,4 +1,4 @@
{ fetchFromGitHub, fetchurl }:
{ fetchFromGitHub }:
{
linux-surface = fetchFromGitHub {