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