treewide: apply deadnix and statix

This commit is contained in:
Jörg Thalheim committed 2022-12-31 11:57:44 +01:00
1 parent d7dfd13d25
commit 03c6d15152
117 files changed
+93 -162

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
{ lib, pkgs, ... }:
{ lib, ... }:
{
imports = [
-2
View File
@@ -1,5 +1,3 @@
{ lib, ... }:
{
imports = [
../.
+2 -1
View File
@@ -1,5 +1,6 @@
{ lib, config, ... }:
let kernelPackages = config.boot.kernelPackages;
let
inherit (config.boot) kernelPackages;
in {
imports = [
../../../common/cpu/amd
+1 -1
View File
@@ -1,4 +1,4 @@
{ lib, pkgs, ... }:
{ lib, ... }:
{
imports = [
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, lib, ...}:
{ pkgs, ...}:
let
# This file was obtained from the display while "DDG" mode was enabled.
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, ... }:
{ lib, ... }:
{
imports = [
+1 -1
View File
@@ -1,4 +1,4 @@
{ lib, pkgs, ... }:
{ lib, ... }:
{
imports = [
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, lib, ... }:
{
imports = [ ../../common/pc/laptop ];
-2
View File
@@ -1,5 +1,3 @@
{ config, lib, pkgs, ... }:
{
imports = [
../.
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ ... }:
{
imports = [
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, ... }:
{
imports = [
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, pkgs, ... }:
{
imports = [
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, pkgs, ... }:
{
imports = [
+1 -1
View File
@@ -1,4 +1,4 @@
{ nixos, lib, pkgs, config, stdenv, ... }:
{ lib, ... }:
{
imports = [
../../../common/cpu/intel
+1 -1
View File
@@ -1,4 +1,4 @@
{ nixos, lib, pkgs, config, stdenv, ... }:
{ lib, config, ... }:
{
imports = [
../.
-2
View File
@@ -1,5 +1,3 @@
{ config, lib, pkgs, ... }:
{
imports = [
../.
-2
View File
@@ -1,5 +1,3 @@
{ config, lib, pkgs, ... }:
{
imports = [
../.
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, ... }:
{
imports = [
+1 -1
View File
@@ -1,4 +1,4 @@
{ lib, pkgs, ... }:
{ lib, ... }:
{
hardware.nvidia.modesetting.enable = true;
hardware.opengl.driSupport32Bit = true;
+1 -1
View File
@@ -1,5 +1,5 @@
{ config, lib, pkgs, ... }:
{ lib, pkgs, ... }:
{
imports = [
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, pkgs, ... }:
{
# For mainline support of rtw89 wireless networking
+1 -1
View File
@@ -1,4 +1,4 @@
{ nixos, pkgs, lib, config, stdenv, ... }:
{ lib, ... }:
{
imports = [
../../../common/cpu/intel
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, pkgs, ... }:
{
imports = [
-3
View File
@@ -1,6 +1,3 @@
{ config, lib, pkgs, ... }:
{
imports = [
../.
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, pkgs, ... }:
{
imports = [
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, pkgs, ... }:
{
imports = [
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, pkgs, ... }:
{
imports = [
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, pkgs, ... }:
{
imports = [
+1 -1
View File
@@ -1,5 +1,5 @@
{ config, lib, pkgs, ... }:
{ lib, pkgs, ... }:
{
imports = [
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, pkgs, ... }:
{
imports = [
-2
View File
@@ -1,5 +1,3 @@
{ config, lib, pkgs, ... }:
{
imports = [
../.
-2
View File
@@ -1,5 +1,3 @@
{ config, lib, pkgs, ... }:
{
imports = [
../.
-2
View File
@@ -1,5 +1,3 @@
{ config, lib, pkgs, ... }:
{
imports = [
../.
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, ... }:
{
imports = [
-2
View File
@@ -1,5 +1,3 @@
{ config, lib, pkgs, ... }:
{
imports = [
../.
-2
View File
@@ -1,5 +1,3 @@
{ config, lib, pkgs, ... }:
{
imports = [
../../../common/cpu/intel
-2
View File
@@ -1,5 +1,3 @@
{ config, lib, pkgs, ... }:
{
imports = [
../../../common/cpu/intel
-2
View File
@@ -1,5 +1,3 @@
{ config, lib, pkgs, ... }:
{
imports = [
../../../common/cpu/intel
-2
View File
@@ -1,5 +1,3 @@
{ config, lib, pkgs, ... }:
{
imports = [
../../../common/cpu/intel
-2
View File
@@ -1,5 +1,3 @@
{ config, lib, pkgs, ... }:
{
imports = [
../../../common/cpu/intel
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, ... }:
{
imports = [
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, ... }:
{
imports = [
+1 -1
View File
@@ -1,4 +1,4 @@
{ nixos, lib, pkgs, config, stdenv, ... }:
{ lib, ... }:
{
imports = [
../../../common/cpu/intel
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, pkgs, ... }:
{
imports = [
-2
View File
@@ -1,5 +1,3 @@
{ config, lib, pkgs, ... }:
{
imports = [
../../../common/cpu/intel
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, ... }:
{
imports = [
+1 -1
View File
@@ -19,7 +19,7 @@ with lib;
hardware.bumblebee.connectDisplay = true;
nixpkgs.overlays = [
(self: super: {
(_self: super: {
bumblebee = super.bumblebee.override {
extraNvidiaDeviceOptions = ''
Option "AllowEmptyInitialConfiguration"
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, ... }:
{ lib, ... }:
{
imports = [
-1
View File
@@ -1,4 +1,3 @@
{ lib, pkgs, ... }:
{
imports = [
../.
@@ -1,6 +1,4 @@
# X1 6th generation with a QHD (2560x1440px) display
{ config, lib, pkgs, ... }:
{
imports = [
../.
+1 -1
View File
@@ -5,7 +5,7 @@
#
# Enable the lower-power S3 suspend state by upgrading the BIOS to version >= 1.30,
# then manually selecting Linux in the power management section.
{ config, pkgs, lib, ... }:
{ lib, ... }:
{
imports = [
../.
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, ... }: {
{ ... }: {
# Reference to hardware: https://certification.ubuntu.com/hardware/202004-27844
imports = [
../.
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, ... }:
{
imports = [
-2
View File
@@ -1,5 +1,3 @@
{ config, lib, pkgs, ... }:
{
imports = [
../.
-2
View File
@@ -1,5 +1,3 @@
{ config, lib, pkgs, ... }:
{
imports = [
../.
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, ... }:
{
imports = [
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ lib, ... }:
{
imports = [
-2
View File
@@ -1,5 +1,3 @@
{ config, lib, pkgs, ... }:
{
# automatic screen orientation
hardware.sensor.iio.enable = true;
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: {
{ lib, pkgs, ... }: {
imports = [
../../../lenovo/thinkpad
../../../common/cpu/amd
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: {
{
imports = [
../../../../lenovo/thinkpad/z
];