Link: https://github.com/danth/stylix/pull/573 Approved-by: Daniel Thwaites <danthwaites30@btinternet.com> Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
13 lines
379 B
Nix
13 lines
379 B
Nix
{ config, lib, ... }:
|
|
|
|
{
|
|
options.stylix.targets.forge.enable =
|
|
config.lib.stylix.mkEnableTarget "Forge" true;
|
|
|
|
config = lib.mkIf (config.stylix.enable && config.stylix.targets.forge.enable) {
|
|
xdg.configFile."forge/stylesheet/forge/stylesheet.css".source = config.lib.stylix.colors {
|
|
template = ./stylesheet.css.mustache;
|
|
extension = ".css";
|
|
};
|
|
};
|
|
}
|