From 88c011986295ffbcbb96ad88f97273cd9dd5bcc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sat, 9 Nov 2024 15:40:07 +0100 Subject: [PATCH] Fix warnings --- config/graphical/plymouth.nix | 2 +- machine/not522/default.nix | 1 - machine/not522/installer/default.nix | 2 -- machine/pc-installer/default.nix | 1 - machine/pc-installer/graphical.nix | 1 - machine/pc-installer/grub.nix | 1 - machine/rainbow-resort/default.nix | 2 -- machine/thinkrac/default.nix | 2 -- modules/containers/autoconfig.nix | 2 +- modules/default.nix | 1 - modules/environment/impermanence.nix | 1 - modules/environment/user-impermanence.nix | 1 - modules/secrets/sops.nix | 1 - programs/desktop/firefox/default.nix | 1 - programs/desktop/syncthing/default.nix | 2 +- programs/editors/nvim/globals.nix | 1 - programs/editors/nvim/home-manager.nix | 1 - tests/containers-default.nix | 2 -- 18 files changed, 3 insertions(+), 22 deletions(-) diff --git a/config/graphical/plymouth.nix b/config/graphical/plymouth.nix index 74ea053e..29d3104f 100644 --- a/config/graphical/plymouth.nix +++ b/config/graphical/plymouth.nix @@ -1,6 +1,6 @@ # Unlike other modules in this directory, this one is not enabled by default # The default graphical configuration would enable this, the verbose configuration would not. -{ config, ... }: +{ ... }: { boot = { plymouth.enable = true; diff --git a/machine/not522/default.nix b/machine/not522/default.nix index 3913edf4..d1a91efe 100644 --- a/machine/not522/default.nix +++ b/machine/not522/default.nix @@ -1,6 +1,5 @@ { nixos-config, - nixos-hardware, nixpkgs, ... }: diff --git a/machine/not522/installer/default.nix b/machine/not522/installer/default.nix index 20ccd674..8090bef3 100644 --- a/machine/not522/installer/default.nix +++ b/machine/not522/installer/default.nix @@ -1,10 +1,8 @@ { nixos-config, - nixos-hardware, config, pureInputs, pkgs, - lib, nixpkgs, ... }: diff --git a/machine/pc-installer/default.nix b/machine/pc-installer/default.nix index 2b4ae345..2087456e 100644 --- a/machine/pc-installer/default.nix +++ b/machine/pc-installer/default.nix @@ -1,7 +1,6 @@ { config, nixos-config, - lib, pkgs, pureInputs, ... diff --git a/machine/pc-installer/graphical.nix b/machine/pc-installer/graphical.nix index 1135793b..2e591116 100644 --- a/machine/pc-installer/graphical.nix +++ b/machine/pc-installer/graphical.nix @@ -1,5 +1,4 @@ { - config, nixos-config, ... }: diff --git a/machine/pc-installer/grub.nix b/machine/pc-installer/grub.nix index a178c3e9..a4785c94 100644 --- a/machine/pc-installer/grub.nix +++ b/machine/pc-installer/grub.nix @@ -1,5 +1,4 @@ { - config, lib, ... }: diff --git a/machine/rainbow-resort/default.nix b/machine/rainbow-resort/default.nix index 3e5ee95a..e18c7668 100644 --- a/machine/rainbow-resort/default.nix +++ b/machine/rainbow-resort/default.nix @@ -1,7 +1,5 @@ { - config, nixos-config, - lib, ... }: { diff --git a/machine/thinkrac/default.nix b/machine/thinkrac/default.nix index 80b215bc..4f910b87 100644 --- a/machine/thinkrac/default.nix +++ b/machine/thinkrac/default.nix @@ -1,7 +1,5 @@ { - config, nixos-config, - lib, ... }: { diff --git a/modules/containers/autoconfig.nix b/modules/containers/autoconfig.nix index 30c2b67b..e4727299 100644 --- a/modules/containers/autoconfig.nix +++ b/modules/containers/autoconfig.nix @@ -1,5 +1,4 @@ { - system, config, lib, pkgs, @@ -19,6 +18,7 @@ in options.autoContainers = mkOption { default = [ ]; type = types.listOf types.str; + description = "names of containers to automatically set up"; }; config = { containers = listToAttrs ( diff --git a/modules/default.nix b/modules/default.nix index ca73935e..8776cc18 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -2,7 +2,6 @@ disko, home-manager, lib, - nur, ... }: with lib; diff --git a/modules/environment/impermanence.nix b/modules/environment/impermanence.nix index 6b788f04..7eee3848 100644 --- a/modules/environment/impermanence.nix +++ b/modules/environment/impermanence.nix @@ -2,7 +2,6 @@ impermanence, config, lib, - pkgs, inTester, ... }: diff --git a/modules/environment/user-impermanence.nix b/modules/environment/user-impermanence.nix index 9cc9b72c..d85929a6 100644 --- a/modules/environment/user-impermanence.nix +++ b/modules/environment/user-impermanence.nix @@ -2,7 +2,6 @@ config, lib, pkgs, - inTester, ... }: with lib; diff --git a/modules/secrets/sops.nix b/modules/secrets/sops.nix index a631befe..c35f18e3 100644 --- a/modules/secrets/sops.nix +++ b/modules/secrets/sops.nix @@ -1,6 +1,5 @@ { sops-nix, - config, ... }: { diff --git a/programs/desktop/firefox/default.nix b/programs/desktop/firefox/default.nix index 14b79f09..224599c3 100644 --- a/programs/desktop/firefox/default.nix +++ b/programs/desktop/firefox/default.nix @@ -1,6 +1,5 @@ { pkgs, - config, lib, nur, ... diff --git a/programs/desktop/syncthing/default.nix b/programs/desktop/syncthing/default.nix index 26ce06b0..a3869a1b 100644 --- a/programs/desktop/syncthing/default.nix +++ b/programs/desktop/syncthing/default.nix @@ -1,4 +1,4 @@ -{ config, systemConfig, ... }: +{ ... }: { services.syncthing = { enable = true; diff --git a/programs/editors/nvim/globals.nix b/programs/editors/nvim/globals.nix index 0194465e..a8530ef2 100644 --- a/programs/editors/nvim/globals.nix +++ b/programs/editors/nvim/globals.nix @@ -1,7 +1,6 @@ { config, pkgs, - lib, ... }: let diff --git a/programs/editors/nvim/home-manager.nix b/programs/editors/nvim/home-manager.nix index 817ff813..4da87e56 100644 --- a/programs/editors/nvim/home-manager.nix +++ b/programs/editors/nvim/home-manager.nix @@ -1,6 +1,5 @@ { pkgs, - config, ... }: { diff --git a/tests/containers-default.nix b/tests/containers-default.nix index c872f634..6828e35e 100644 --- a/tests/containers-default.nix +++ b/tests/containers-default.nix @@ -1,7 +1,5 @@ { - callPackage, testers, - nixos-config, inputs, }: testers.runNixOSTest {