treewide: apply deadnix and statix

This commit is contained in:
Jörg Thalheim committed 2022-12-31 11:57:44 +01:00
1 parent d7dfd13d25
commit 03c6d15152
117 files changed
+93 -162

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, pkgs, ... }:
let
inherit (lib) mkDefault;
@@ -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 {
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, ... }:
let
inherit (lib) mkOption types;
+1 -2
View File
@@ -1,12 +1,11 @@
{ lib,
buildLinux,
callPackage,
fetchurl,
linuxPackagesFor,
}:
let
inherit (lib) kernel recurseIntoAttrs;
inherit (lib) recurseIntoAttrs;
in {
repos = callPackage ../repos.nix {};
+1 -1
View File
@@ -1,4 +1,4 @@
{ fetchFromGitHub, fetchurl }:
{ fetchFromGitHub }:
{
linux-surface = fetchFromGitHub {