mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 00:57:22 +01:00
13 lines
435 B
Nix
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);
|
|
};
|
|
}
|