Merge pull request #841 from NklsCh/master

fix: use mkIf instead of optionals to provent empty overlays and avoid conflicts
This commit is contained in:
orangc
2025-03-18 05:17:51 +03:00
committed by GitHub

View File

@@ -637,7 +637,7 @@ in
in mkIf cfg.enable {
# nixpkgs.overlays = if cfg.overlay.enable then [ self.overlay ] else null;
nixpkgs.overlays = lib.optionals cfg.overlay.enable [ self.overlay ];
nixpkgs.overlays = lib.mkIf cfg.overlay.enable [ self.overlay ];
home.packages = [
package