gnome/nixos: guard nixpkgs.overlays with stylix.overlays.enable (#2176)

Link: https://github.com/nix-community/stylix/pull/2176
Fixes: eb19696b18 ("stylix: add overlay module (#1048)")

Reviewed-by: 0xda157 <da157@voidq.com>
This commit is contained in:
NAHO 2026-01-31 20:41:13 +01:00 committed by GitHub
parent 8b14679c0e
commit ae5c0239ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,7 +38,7 @@ in
pkgs.gnome-backgrounds
];
nixpkgs.overlays = [
nixpkgs.overlays = lib.mkIf config.stylix.overlays.enable [
(_: super: {
gnome-shell = super.gnome-shell.overrideAttrs (oldAttrs: {
# Themes are usually applied via an extension, but extensions are