diff --git a/home/config/nil/stylix.nix b/home/config/nil/stylix.nix index d30f61d..58347a3 100644 --- a/home/config/nil/stylix.nix +++ b/home/config/nil/stylix.nix @@ -1,7 +1,12 @@ -{ ... }: { config, lib, pkgs, ... }: { +{ ... }: { config, lib, pkgs, ... }@args: +let + osConfig = args.osConfig or { }; +in { stylix = { enable = true; base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml"; image = config.lib.stylix.pixel "base00"; + + targets.gtk.enable = osConfig.hardware.graphics.enable or false; }; }