theming: [FIX] evaluation error when not enabling theme option

This commit is contained in:
Moritz Böhme 2023-02-26 12:50:06 +01:00
parent ea59147fcd
commit 5af6008c7d
6 changed files with 6 additions and 6 deletions

View file

@ -5,7 +5,7 @@ let
cfg = config.my.theming;
in
{
config = mkIf (cfg.scheme == "catppuccin-latte")
config = mkIf (cfg.enable && cfg.scheme == "catppuccin-latte")
(import ./catppuccin.nix
{
inherit config lib pkgs;