From 8b570bede1f668b288ae05029ac35f11a49deeb0 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 29 Jan 2024 10:46:56 -0600 Subject: [PATCH] remove dead nix with astro/deadnix --- flake.nix | 1 - hosts/algiz/hardware-configuration.nix | 2 -- hosts/mannaz/default.nix | 3 --- hosts/mannaz/hardware-configuration.nix | 1 - hosts/mannaz/system.nix | 1 - hosts/othalan/default.nix | 1 - hosts/othalan/hardware-configuration.nix | 1 - lib/default.nix | 2 +- modules/desktop/fonts.nix | 1 - modules/desktop/lock/default.nix | 1 - modules/desktop/window-managers/qtile.nix | 1 - modules/development/git.nix | 1 - modules/editors/nvim.nix | 1 - modules/nix-ld.nix | 1 - modules/users/default.nix | 1 - modules/virtualization/virtualbox.nix | 2 -- oizys/default.nix | 3 +-- overlays/hyprland/default.nix | 2 +- overlays/nim-atlas/default.nix | 2 +- overlays/nimble/default.nix | 2 +- 20 files changed, 5 insertions(+), 25 deletions(-) diff --git a/flake.nix b/flake.nix index dd2a35a..3260b0a 100644 --- a/flake.nix +++ b/flake.nix @@ -30,7 +30,6 @@ ]; }; outputs = inputs @ { - self, nixpkgs, ... }: let diff --git a/hosts/algiz/hardware-configuration.nix b/hosts/algiz/hardware-configuration.nix index 4f25332..f2630ca 100644 --- a/hosts/algiz/hardware-configuration.nix +++ b/hosts/algiz/hardware-configuration.nix @@ -4,8 +4,6 @@ { config, lib, - pkgs, - modulesPath, ... }: { imports = []; diff --git a/hosts/mannaz/default.nix b/hosts/mannaz/default.nix index 50f4422..94914f5 100644 --- a/hosts/mannaz/default.nix +++ b/hosts/mannaz/default.nix @@ -1,8 +1,5 @@ { inputs, - lib, - config, - pkgs, ... }: { imports = with inputs.self.nixosModules; [ diff --git a/hosts/mannaz/hardware-configuration.nix b/hosts/mannaz/hardware-configuration.nix index 74bce9a..b2c2519 100644 --- a/hosts/mannaz/hardware-configuration.nix +++ b/hosts/mannaz/hardware-configuration.nix @@ -4,7 +4,6 @@ { config, lib, - pkgs, modulesPath, ... }: { diff --git a/hosts/mannaz/system.nix b/hosts/mannaz/system.nix index 6a04e92..efb0942 100644 --- a/hosts/mannaz/system.nix +++ b/hosts/mannaz/system.nix @@ -1,5 +1,4 @@ { - inputs, config, pkgs, mkRune, diff --git a/hosts/othalan/default.nix b/hosts/othalan/default.nix index cc51271..e02080b 100644 --- a/hosts/othalan/default.nix +++ b/hosts/othalan/default.nix @@ -1,6 +1,5 @@ { inputs, - lib, pkgs, ... }: { diff --git a/hosts/othalan/hardware-configuration.nix b/hosts/othalan/hardware-configuration.nix index e79863d..c5fc2e0 100644 --- a/hosts/othalan/hardware-configuration.nix +++ b/hosts/othalan/hardware-configuration.nix @@ -4,7 +4,6 @@ { config, lib, - pkgs, modulesPath, ... }: { diff --git a/lib/default.nix b/lib/default.nix index 0a51f4b..d2b6c70 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -3,7 +3,7 @@ nixpkgs, ... }: let - inherit (builtins) concatLists attrValues mapAttrs elemAt match readDir filter listToAttrs baseNameOf readFile; + inherit (builtins) concatLists attrValues mapAttrs elemAt match readDir filter listToAttrs; inherit (nixpkgs.lib) hasSuffix nixosSystem genAttrs; inherit (nixpkgs.lib.filesystem) listFilesRecursive; diff --git a/modules/desktop/fonts.nix b/modules/desktop/fonts.nix index 661bc58..d95632a 100644 --- a/modules/desktop/fonts.nix +++ b/modules/desktop/fonts.nix @@ -1,5 +1,4 @@ { - inputs, pkgs, config, lib, diff --git a/modules/desktop/lock/default.nix b/modules/desktop/lock/default.nix index 92a1814..6f7af4c 100644 --- a/modules/desktop/lock/default.nix +++ b/modules/desktop/lock/default.nix @@ -1,5 +1,4 @@ { - inputs, pkgs, config, lib, diff --git a/modules/desktop/window-managers/qtile.nix b/modules/desktop/window-managers/qtile.nix index d4a405d..8ec8398 100644 --- a/modules/desktop/window-managers/qtile.nix +++ b/modules/desktop/window-managers/qtile.nix @@ -1,5 +1,4 @@ { - inputs, pkgs, config, lib, diff --git a/modules/development/git.nix b/modules/development/git.nix index c683ab0..d58df33 100644 --- a/modules/development/git.nix +++ b/modules/development/git.nix @@ -1,5 +1,4 @@ { - input, pkgs, ... }: { diff --git a/modules/editors/nvim.nix b/modules/editors/nvim.nix index 83c56c1..111ddbb 100644 --- a/modules/editors/nvim.nix +++ b/modules/editors/nvim.nix @@ -1,5 +1,4 @@ { - input, pkgs, ... }: { diff --git a/modules/nix-ld.nix b/modules/nix-ld.nix index a63d1e0..419c14d 100644 --- a/modules/nix-ld.nix +++ b/modules/nix-ld.nix @@ -1,5 +1,4 @@ { - input, pkgs, ... }: { diff --git a/modules/users/default.nix b/modules/users/default.nix index 7893d8a..113f41a 100644 --- a/modules/users/default.nix +++ b/modules/users/default.nix @@ -1,5 +1,4 @@ { - nixpkgs, config, lib, pkgs, diff --git a/modules/virtualization/virtualbox.nix b/modules/virtualization/virtualbox.nix index 64d6769..2c83fc0 100644 --- a/modules/virtualization/virtualbox.nix +++ b/modules/virtualization/virtualbox.nix @@ -1,6 +1,4 @@ { - input, - pkgs, ... }: { virtualisation.virtualbox.host.enable = true; diff --git a/oizys/default.nix b/oizys/default.nix index bcf7680..3094cd9 100644 --- a/oizys/default.nix +++ b/oizys/default.nix @@ -1,8 +1,7 @@ { - lib, buildNimPackage, }: -buildNimPackage (final: prev: { +buildNimPackage (_final: _prev: { pname = "oizys"; version = "unstable"; src = ./.; diff --git a/overlays/hyprland/default.nix b/overlays/hyprland/default.nix index a3dae5a..fc0c5ae 100644 --- a/overlays/hyprland/default.nix +++ b/overlays/hyprland/default.nix @@ -1,4 +1,4 @@ -{...}: (final: prev: { +{...}: (_final: prev: { hyprland = prev.hyprland.overrideAttrs { src = prev.fetchFromGitHub { version = "main-20240121"; diff --git a/overlays/nim-atlas/default.nix b/overlays/nim-atlas/default.nix index b24b280..d31665c 100644 --- a/overlays/nim-atlas/default.nix +++ b/overlays/nim-atlas/default.nix @@ -1,4 +1,4 @@ -{...}: (final: prev: { +{...}: (_final: prev: { nim-atlas = prev.nim-atlas.overrideNimAttrs { version = "unstable"; src = prev.fetchFromGitHub { diff --git a/overlays/nimble/default.nix b/overlays/nimble/default.nix index a7a6391..df07697 100644 --- a/overlays/nimble/default.nix +++ b/overlays/nimble/default.nix @@ -1,4 +1,4 @@ -{...}: (final: prev: { +{...}: (_final: prev: { nimble = prev.nimble.overrideNimAttrs { version = "0.14.2-f74bf2"; requiredNimVersion = 2;