nix-config/modules/nix/rice/stylix.nix
smayzy 092579af98
All checks were successful
nix flake show / show-flake (push) Successful in 27s
format with nixfmt to nixpkgs standarts
2025-07-24 19:19:46 +02:00

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 ];
};
}