From 751cdf612efcbcd6120ae77dfae4ec71ca688813 Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Thu, 9 Jan 2025 17:32:26 +0100 Subject: [PATCH] Changed theme config --- modules/home/theming/stylix.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/home/theming/stylix.nix b/modules/home/theming/stylix.nix index 7e49415..27f9e5d 100644 --- a/modules/home/theming/stylix.nix +++ b/modules/home/theming/stylix.nix @@ -39,10 +39,7 @@ in { stylix.polarity = "dark"; - stylix.base16Scheme = if (cfg.wallpaper == "theme") then - theme - else - "${pkgs.base16-schemes}/share/themes/da-one-ocean.yaml"; + stylix.base16Scheme = lib.mkIf cfg.wallpaper != "theme" "${pkgs.base16-schemes}/share/themes/da-one-ocean.yaml"; stylix.autoEnable = true;