23 lines
425 B
Nix
23 lines
425 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";
|
|
environment.systemPackages = with pkgs; [ base16-schemes ];
|
|
};
|
|
}
|