you know the drill at this point

This commit is contained in:
Chris Kruining 2025-07-24 16:02:25 +02:00
parent 2d0b2b5070
commit b8e4a0a8bc
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
27 changed files with 227 additions and 555 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, namespace, ... }:
{ config, lib, pkgs, namespace, osConfig ? {}, ... }:
let
inherit (lib) mkIf mkDefault;
inherit (lib.options) mkOption mkEnableOption;
@ -23,9 +23,7 @@ in {
};
};
config = mkIf cfg.enable {
${namespace}.theming.enable = true;
config = mkIf (cfg.enable && osConfig.${namespace}.theming.enable) {
stylix = {
base16Scheme = "${pkgs.base16-schemes}/share/themes/${cfg.theme}.yaml";
image = ./${cfg.theme}.jpg;