11.stylix/modules/forge/hm.nix
bricked 63426a59e7
forge: init (#573)
Link: https://github.com/danth/stylix/pull/573

Approved-by: Daniel Thwaites <danthwaites30@btinternet.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-10-07 16:49:24 +02:00

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