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 {