mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 19:46:10 +01:00
treewide: apply deadnix and statix
This commit is contained in:
parent
d7dfd13d25
commit
03c6d15152
117 changed files with 93 additions and 162 deletions
|
|
@ -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,4 +1,4 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ lib, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkOption types;
|
||||
|
|
|
|||
|
|
@ -1,12 +1,11 @@
|
|||
{ lib,
|
||||
buildLinux,
|
||||
callPackage,
|
||||
fetchurl,
|
||||
linuxPackagesFor,
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (lib) kernel recurseIntoAttrs;
|
||||
inherit (lib) recurseIntoAttrs;
|
||||
|
||||
in {
|
||||
repos = callPackage ../repos.nix {};
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ fetchFromGitHub, fetchurl }:
|
||||
{ fetchFromGitHub }:
|
||||
|
||||
{
|
||||
linux-surface = fetchFromGitHub {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue