theming: [FIX] evaluation error when not enabling theme option
This commit is contained in:
parent
ea59147fcd
commit
5af6008c7d
6 changed files with 6 additions and 6 deletions
|
|
@ -5,7 +5,7 @@ let
|
|||
cfg = config.my.theming;
|
||||
in
|
||||
{
|
||||
config = mkIf (cfg.scheme == "catppuccin-frappe")
|
||||
config = mkIf (cfg.enable && cfg.scheme == "catppuccin-frappe")
|
||||
(import ./catppuccin.nix
|
||||
{
|
||||
inherit config lib pkgs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue