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

38 lines
625 B
Nix

{
x,
lib,
config,
inputs,
...
}:
with lib;
with x;
let
cfg = config.module.themes.stylix;
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 = base16;
targets = {
console = True; # TTY
chromium = True; # CHROMIUM LOL
fish = True; # SHELL
plymouth = True // {
logoAnimated = true;
}; # STARTING SCREEN
};
};
};
}