1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2024-12-29 18:43:52 +00:00
ultima/modules/nixos/themes/default.nix

40 lines
617 B
Nix
Raw Normal View History

{
x,
lib,
config,
inputs,
...
}:
2024-11-21 09:24:15 +00:00
with lib;
2024-12-09 01:15:55 +00:00
with x;
let
cfg = config.module.themes.stylix;
in
{
2024-11-27 10:37:54 +00:00
options = {
module.themes.stylix = {
2024-12-09 01:15:55 +00:00
enable = mkBool;
theme = mkOpt.str;
2024-11-27 10:37:54 +00:00
};
};
2024-11-21 09:24:15 +00:00
imports = [
inputs.stylix.nixosModules.stylix
../../colors.nix
];
2024-11-21 09:24:15 +00:00
config = mkIf cfg.enable {
stylix = True // {
# COLORIZE !!!
2024-11-21 09:24:15 +00:00
autoEnable = false;
targets = {
console = True; # TTY
chromium = True; # CHROMIUM LOL
fish = True; # SHELL
plymouth = True // {
logoAnimated = true;
}; # STARTING SCREEN
2024-11-21 09:24:15 +00:00
};
};
};
}