From 3c54cb3384116d430e2a83c5d3d3f0dd59eb9ff2 Mon Sep 17 00:00:00 2001 From: NAHO <90870942+trueNAHO@users.noreply.github.com> Date: Wed, 21 Aug 2024 17:05:40 +0200 Subject: [PATCH] treewide: ignore unused arguments detected by deadnix Link: https://github.com/danth/stylix/pull/519 --- modules/gnome/nixos.nix | 2 +- modules/nixos-icons/nixos.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gnome/nixos.nix b/modules/gnome/nixos.nix index c10bf8a1..7d0ce3d4 100644 --- a/modules/gnome/nixos.nix +++ b/modules/gnome/nixos.nix @@ -22,7 +22,7 @@ in { # which will then download the pack regardless of its exclusion below. environment.gnome.excludePackages = [ pkgs.gnome-backgrounds ]; - nixpkgs.overlays = [(self: super: { + nixpkgs.overlays = [(_: super: { gnome-shell = super.gnome-shell.overrideAttrs (oldAttrs: { # Themes are usually applied via an extension, but extensions are # not available on the login screen. The only way to change the diff --git a/modules/nixos-icons/nixos.nix b/modules/nixos-icons/nixos.nix index 75074d09..90f037c9 100644 --- a/modules/nixos-icons/nixos.nix +++ b/modules/nixos-icons/nixos.nix @@ -6,7 +6,7 @@ with config.lib.stylix.colors; options.stylix.targets.nixos-icons.enable = config.lib.stylix.mkEnableTarget "the NixOS logo" true; - config.nixpkgs.overlays = lib.mkIf (config.stylix.enable && config.stylix.targets.nixos-icons.enable) [(self: super: { + config.nixpkgs.overlays = lib.mkIf (config.stylix.enable && config.stylix.targets.nixos-icons.enable) [(_: super: { nixos-icons = super.nixos-icons.overrideAttrs (oldAttrs: { src = pkgs.applyPatches { inherit (oldAttrs) src;