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;