mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-01 17:43:52 +00:00
33 lines
657 B
Nix
33 lines
657 B
Nix
{ lib, config, inputs, True, ... }:
|
|
|
|
with lib;
|
|
|
|
let cfg = config.module.themes.stylix;
|
|
in {
|
|
options = {
|
|
module.themes.stylix = {
|
|
enable = mkEnableOption "";
|
|
theme = mkOption {
|
|
default = null;
|
|
type = types.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 // { # STARTING SCREEN
|
|
logoAnimated = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|