Files
nix/home/modules/stylix/default.nix
T
2026-08-22 22:38:33 +02:00

29 lines
459 B
Nix

{
config,
lib,
pkgs,
...
}:
let
cfg = config.my.stylix;
theme = import ../../../modules/stylix/theme.nix { inherit pkgs; };
in
{
options.my.stylix.enable = lib.mkEnableOption "stylix";
config = lib.mkIf cfg.enable {
stylix = {
enable = true;
inherit (theme)
polarity
base16Scheme
override
image
fonts
;
targets = import ../../../modules/stylix/targets.nix;
};
};
}