mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-01 17:43:52 +00:00
40 lines
617 B
Nix
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
|
|
};
|
|
};
|
|
};
|
|
}
|