.dotfiles/modules/home/common/stylix.nix
Leon Schwarzäugl 783e381fbe
Some checks are pending
Flake check / Check flake (push) Waiting to run
chore: update flake
2025-11-02 12:29:35 +01:00

13 lines
435 B
Nix

{ self, lib, config, vars, ... }:
{
options.swarselmodules.stylix = lib.mkEnableOption "stylix settings";
config = lib.mkIf config.swarselmodules.stylix {
stylix = lib.mkIf (!config.swarselsystems.isNixos && config.swarselmodules.stylix) (lib.recursiveUpdate
{
enable = true;
base16Scheme = "${self}/files/stylix/swarsel.yaml";
targets = vars.stylixHomeTargets;
}
vars.stylix);
};
}