nix-config/modules/nix/rice/stylix.nix
2025-07-08 18:42:23 +02:00

17 lines
354 B
Nix

{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.stylix.enable = mkOption {
type = types.bool;
default = false;
description = "stylix";
};
config = mkIf config.smayzy.stylix.enable {
stylix.enable = true;
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/dracula.yaml";
};
}