remove unused variables with deadnix

This commit is contained in:
Jörg Thalheim authored and mergify[bot] committed 2023-12-25 20:25:23 +00:00
1 parent 249a94e715
commit b7747f0f60
28 files changed
+20 -39

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, ... }: { lib, ... }:
{ {
imports = [ ../. ]; imports = [ ../. ];
+1 -1
View File
@@ -1,4 +1,4 @@
{ lib, pkgs, config, ... }: { lib, config, ... }:
{ {
imports = [ ./. ]; imports = [ ./. ];
-2
View File
@@ -1,5 +1,3 @@
{ lib, pkgs, ... }:
{ {
imports = [ imports = [
../../../../common/cpu/intel ../../../../common/cpu/intel
+1 -1
View File
@@ -1,4 +1,4 @@
{ lib, pkgs, ... }: { {
imports = [ imports = [
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop ../../../common/pc/laptop
-1
View File
@@ -1,5 +1,4 @@
{ lib { lib
, pkgs
, ... , ...
}: }:
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ...}: { config, lib, ...}:
{ {
imports = [ imports = [
../../common/cpu/intel ../../common/cpu/intel
+1 -4
View File
@@ -1,8 +1,5 @@
{ config, lib, pkgs, ...}: { config, lib, ...}:
with lib; with lib;
let
cfg = config.hardware.gpd.ppt;
in
{ {
imports = [ imports = [
./.. ./..
-2
View File
@@ -1,5 +1,3 @@
{ config, lib, ... }:
{ {
imports = [ imports = [
../../common/cpu/intel/jasper-lake ../../common/cpu/intel/jasper-lake
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: { pkgs, lib, ... }:
{ {
imports = imports =
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: { pkgs, lib, ... }:
{ {
imports = imports =
-2
View File
@@ -1,5 +1,3 @@
{ lib, ... }:
{ {
imports = [ imports = [
../../../common/cpu/amd ../../../common/cpu/amd
-2
View File
@@ -1,5 +1,3 @@
{ lib, ... }:
{ {
imports = [ imports = [
../../../common/cpu/amd ../../../common/cpu/amd
+1 -3
View File
@@ -1,7 +1,5 @@
{ lib, config, ... }: { lib, config, ... }:
let {
inherit (config.boot) kernelPackages;
in {
imports = [ imports = [
../../../common/cpu/amd ../../../common/cpu/amd
../../../common/gpu/amd ../../../common/gpu/amd
+1 -1
View File
@@ -1,4 +1,4 @@
{ lib, config, ... }: { lib, ... }:
{ {
imports = [ imports = [
-1
View File
@@ -1,7 +1,6 @@
{ {
lib, lib,
config, config,
pkgs,
... ...
}: { }: {
imports = [ imports = [
-2
View File
@@ -1,5 +1,3 @@
{ lib, ... }:
{ {
imports = [ imports = [
../. ../.
-2
View File
@@ -1,5 +1,3 @@
{ pkgs, lib, ... }:
{ {
nixpkgs.overlays = [ nixpkgs.overlays = [
(import ./overlay.nix) (import ./overlay.nix)
+1 -1
View File
@@ -1,4 +1,4 @@
{ lib, pkgs, ...}: { { lib, ...}: {
imports = [ imports = [
../../common/cpu/amd ../../common/cpu/amd
../../common/cpu/amd/pstate.nix ../../common/cpu/amd/pstate.nix
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ...}: { lib, pkgs, ...}:
{ {
hardware.deviceTree = { hardware.deviceTree = {
+1 -1
View File
@@ -1,4 +1,4 @@
{ pkgs, config, lib, ... }: { config, ... }:
{ {
imports = [ imports = [
+1 -1
View File
@@ -1,4 +1,4 @@
{ pkgs, lib, ... }: { lib, ... }:
{ {
boot.initrd.kernelModules = [ boot.initrd.kernelModules = [
# PCIe/NVMe # PCIe/NVMe
+1 -1
View File
@@ -1,4 +1,4 @@
{ callPackage, pkgsBuildHost, runCommand, writeText, writeShellApplication { callPackage, pkgsBuildHost, writeText, writeShellApplication
, stdenv, dtc, mtdutils, coreutils }: , stdenv, dtc, mtdutils, coreutils }:
let let
uboot = callPackage ./uboot.nix { }; uboot = callPackage ./uboot.nix { };
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, lib, modulesPath, ... }: { config, pkgs, modulesPath, ... }:
let firmware = pkgs.callPackage ./firmware.nix { }; let firmware = pkgs.callPackage ./firmware.nix { };
in { in {
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: { config, lib, ... }:
lib.mkIf config.hardware.librem5.customInitrdModules { lib.mkIf config.hardware.librem5.customInitrdModules {
boot.initrd = { boot.initrd = {
kernelModules = [ kernelModules = [
+1 -1
View File
@@ -1,4 +1,4 @@
{ stdenv, gcc11Stdenv, buildUBoot, fetchurl, fetchFromGitLab, lib, flex, bison }: { stdenv, gcc11Stdenv, buildUBoot, fetchurl, fetchFromGitLab, lib, bison }:
let let
firmware-imx = stdenv.mkDerivation (fa: { firmware-imx = stdenv.mkDerivation (fa: {
pname = "firmware-imx"; pname = "firmware-imx";
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: { config, lib, ... }:
lib.mkIf (config.hardware.librem5.wifiCard == "redpine") { lib.mkIf (config.hardware.librem5.wifiCard == "redpine") {
# Disable mainline rsi module # Disable mainline rsi module
boot.blacklistedKernelModules = [ boot.blacklistedKernelModules = [
+1 -1
View File
@@ -1,4 +1,4 @@
{ callPackage, pkgsBuildHost, runCommand, writeText, writeShellApplication { callPackage, pkgsBuildHost, writeText, writeShellApplication
, stdenv, dtc, mtdutils, coreutils }: , stdenv, dtc, mtdutils, coreutils }:
let let
uboot = callPackage ./uboot.nix { }; uboot = callPackage ./uboot.nix { };
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, lib, modulesPath, ... }: { config, pkgs, modulesPath, ... }:
let firmware = pkgs.callPackage ./firmware.nix { }; let firmware = pkgs.callPackage ./firmware.nix { };
in { in {