Skip to content

Commit

Permalink
treewide: ignore unused arguments detected by deadnix
Browse files Browse the repository at this point in the history
Link: danth#519
(cherry picked from commit 3c54cb3)
  • Loading branch information
trueNAHO committed Jan 4, 2025
1 parent 2f6e9da commit f986c4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/gnome/nixos.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion modules/nixos-icons/nixos.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f986c4b

Please sign in to comment.