1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2024-12-29 19:43:51 +00:00
ultima/modules/nixos/themes/stylix/default.nix
2024-12-22 18:34:08 +09:00

39 lines
673 B
Nix

{
x,
lib,
config,
inputs,
...
}:
with lib;
with x;
let
cfg = config.module.themes.stylix;
wal = inputs.design;
in
{
options = {
module.themes.stylix = {
enable = mkBool;
theme = mkOpt.str;
};
};
imports = with inputs; [ stylix.nixosModules.stylix ];
config = mkIf cfg.enable {
stylix = True // {
# COLORIZE !!!
autoEnable = false;
base16Scheme = "${wal}/base16/${x.theme}.yaml";
targets = {
console = True; # TTY
chromium = True; # CHROMIUM LOL
fish = True; # SHELL
plymouth = True // {
logoAnimated = true;
}; # STARTING SCREEN
};
};
};
}