17 lines
354 B
Nix
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";
|
|
};
|
|
}
|