2024-11-21 09:24:15 +00:00
|
|
|
{ lib, config, inputs, True, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
2024-11-23 14:31:05 +00:00
|
|
|
let cfg = config.module.themes.stylix;
|
2024-11-21 09:24:15 +00:00
|
|
|
in {
|
2024-11-27 10:37:54 +00:00
|
|
|
options = {
|
|
|
|
module.themes.stylix = {
|
|
|
|
enable = mkEnableOption "";
|
|
|
|
theme = mkOption {
|
|
|
|
default = null;
|
|
|
|
type = types.str;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-11-21 09:24:15 +00:00
|
|
|
|
2024-11-23 14:31:05 +00:00
|
|
|
imports = [ inputs.stylix.nixosModules.stylix ../../colors.nix ];
|
2024-11-21 09:24:15 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|