remove unused variables with deadnix

This commit is contained in:
Jörg Thalheim 2023-12-25 21:14:17 +01:00 committed by mergify[bot]
parent 249a94e715
commit b7747f0f60
28 changed files with 20 additions and 39 deletions

View File

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ lib, ... }:
{
imports = [ ../. ];

View File

@ -1,4 +1,4 @@
{ lib, pkgs, config, ... }:
{ lib, config, ... }:
{
imports = [ ./. ];

View File

@ -1,5 +1,3 @@
{ lib, pkgs, ... }:
{
imports = [
../../../../common/cpu/intel

View File

@ -1,4 +1,4 @@
{ lib, pkgs, ... }: {
{
imports = [
../../../common/cpu/intel
../../../common/pc/laptop

View File

@ -1,5 +1,4 @@
{ lib
, pkgs
, ...
}:

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, ...}:
{ config, lib, ...}:
{
imports = [
../../common/cpu/intel

View File

@ -1,8 +1,5 @@
{ config, lib, pkgs, ...}:
{ config, lib, ...}:
with lib;
let
cfg = config.hardware.gpd.ppt;
in
{
imports = [
./..

View File

@ -1,5 +1,3 @@
{ config, lib, ... }:
{
imports = [
../../common/cpu/intel/jasper-lake

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ pkgs, lib, ... }:
{
imports =

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ pkgs, lib, ... }:
{
imports =

View File

@ -1,5 +1,3 @@
{ lib, ... }:
{
imports = [
../../../common/cpu/amd

View File

@ -1,5 +1,3 @@
{ lib, ... }:
{
imports = [
../../../common/cpu/amd

View File

@ -1,7 +1,5 @@
{ lib, config, ... }:
let
inherit (config.boot) kernelPackages;
in {
{
imports = [
../../../common/cpu/amd
../../../common/gpu/amd

View File

@ -1,4 +1,4 @@
{ lib, config, ... }:
{ lib, ... }:
{
imports = [

View File

@ -1,7 +1,6 @@
{
lib,
config,
pkgs,
...
}: {
imports = [

View File

@ -1,5 +1,3 @@
{ lib, ... }:
{
imports = [
../.

View File

@ -1,5 +1,3 @@
{ pkgs, lib, ... }:
{
nixpkgs.overlays = [
(import ./overlay.nix)

View File

@ -1,4 +1,4 @@
{ lib, pkgs, ...}: {
{ lib, ...}: {
imports = [
../../common/cpu/amd
../../common/cpu/amd/pstate.nix

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, ...}:
{ lib, pkgs, ...}:
{
hardware.deviceTree = {

View File

@ -1,4 +1,4 @@
{ pkgs, config, lib, ... }:
{ config, ... }:
{
imports = [

View File

@ -1,4 +1,4 @@
{ pkgs, lib, ... }:
{ lib, ... }:
{
boot.initrd.kernelModules = [
# PCIe/NVMe

View File

@ -1,4 +1,4 @@
{ callPackage, pkgsBuildHost, runCommand, writeText, writeShellApplication
{ callPackage, pkgsBuildHost, writeText, writeShellApplication
, stdenv, dtc, mtdutils, coreutils }:
let
uboot = callPackage ./uboot.nix { };

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, modulesPath, ... }:
{ config, pkgs, modulesPath, ... }:
let firmware = pkgs.callPackage ./firmware.nix { };
in {

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ config, lib, ... }:
lib.mkIf config.hardware.librem5.customInitrdModules {
boot.initrd = {
kernelModules = [

View File

@ -1,4 +1,4 @@
{ stdenv, gcc11Stdenv, buildUBoot, fetchurl, fetchFromGitLab, lib, flex, bison }:
{ stdenv, gcc11Stdenv, buildUBoot, fetchurl, fetchFromGitLab, lib, bison }:
let
firmware-imx = stdenv.mkDerivation (fa: {
pname = "firmware-imx";

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ config, lib, ... }:
lib.mkIf (config.hardware.librem5.wifiCard == "redpine") {
# Disable mainline rsi module
boot.blacklistedKernelModules = [

View File

@ -1,4 +1,4 @@
{ callPackage, pkgsBuildHost, runCommand, writeText, writeShellApplication
{ callPackage, pkgsBuildHost, writeText, writeShellApplication
, stdenv, dtc, mtdutils, coreutils }:
let
uboot = callPackage ./uboot.nix { };

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, modulesPath, ... }:
{ config, pkgs, modulesPath, ... }:
let firmware = pkgs.callPackage ./firmware.nix { };
in {