mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-01 17:33:51 +00:00
28 lines
573 B
Nix
28 lines
573 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
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|