1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-01 17:43:52 +00:00
ultima/modules/nixos/themes/default.nix
2024-12-20 22:10:11 +09:00

40 lines
617 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 = [
inputs.stylix.nixosModules.stylix
../../colors.nix
];
config = mkIf cfg.enable {
stylix = True // {
# COLORIZE !!!
autoEnable = false;
targets = {
console = True; # TTY
chromium = True; # CHROMIUM LOL
fish = True; # SHELL
plymouth = True // {
logoAnimated = true;
}; # STARTING SCREEN
};
};
};
}