From 941264beb442f85b33662934c8a71ffa83b6c866 Mon Sep 17 00:00:00 2001 From: awwpotato Date: Fri, 23 May 2025 12:03:37 -0700 Subject: [PATCH] stylix: allow for overlays to access options (#1372) Link: https://github.com/nix-community/stylix/pull/1372 Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com> (cherry picked from commit 6b2bc89659213d90929642e4439289694309e8b6) --- stylix/overlays.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/stylix/overlays.nix b/stylix/overlays.nix index f51aecc99..aefb45e45 100644 --- a/stylix/overlays.nix +++ b/stylix/overlays.nix @@ -3,6 +3,7 @@ inputs: lib, pkgs, config, + options, ... }: { @@ -14,7 +15,14 @@ inputs: file = import f; attrs = if builtins.typeOf file == "lambda" then - file { inherit lib pkgs config; } + file { + inherit + lib + pkgs + config + options + ; + } else file; in