Skip to content

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

Merged
0xda157 merged 1 commit intonix-community:masterfrom
trueNAHO:gnome-nixos-guard-nixpkgs-overlays-with-stylix-overlays-enable
Jan 31, 2026
Merged

gnome/nixos: guard nixpkgs.overlays with stylix.overlays.enable#2176
0xda157 merged 1 commit intonix-community:masterfrom
trueNAHO:gnome-nixos-guard-nixpkgs-overlays-with-stylix-overlays-enable

Conversation

@trueNAHO
Copy link
Copy Markdown
Member

Fixes: eb19696b18fd ("stylix: add overlay module (#1048)")

This consistently guards the nixpkgs.overlays declaration with stylix.overlays.enable. Although the technically correct fix is to move this nixpkgs.overlays declaration into /modules/gnome/overlay.nix, which was forgotten in commit eb19696 ("stylix: add overlay module (#1048)"), I chose this hotfix because the /modules/<MODULE>/overlay.nix pattern will be gone after #2174 anyway. Afterwards, the truly correct behavior is established when /modules/gnome/nixos.nix has migrated to our custom module system.

This inconsistency was first mentioned in #2107 (comment).


@stylix-automation stylix-automation bot added topic: nixos NixOS target topic: modules /modules/ subsystem labels Jan 31, 2026
@stylix-automation stylix-automation bot requested a review from danth January 31, 2026 18:51
@trueNAHO trueNAHO mentioned this pull request Jan 31, 2026
6 tasks
@0xda157 0xda157 merged commit ae5c023 into nix-community:master Jan 31, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: modules /modules/ subsystem topic: nixos NixOS target

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants