2024-12-17 12:10:05 +00:00
|
|
|
{
|
|
|
|
x,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
inputs,
|
|
|
|
...
|
|
|
|
}:
|
2024-11-21 09:24:15 +00:00
|
|
|
with lib;
|
2024-12-09 01:15:55 +00:00
|
|
|
with x;
|
2024-12-17 12:10:05 +00:00
|
|
|
let
|
|
|
|
cfg = config.module.themes.stylix;
|
2024-12-22 09:34:08 +00:00
|
|
|
wal = inputs.design;
|
2024-12-17 12:10:05 +00:00
|
|
|
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
|
|
|
|
2024-12-21 09:11:03 +00:00
|
|
|
imports = with inputs; [ stylix.nixosModules.stylix ];
|
2024-11-21 09:24:15 +00:00
|
|
|
config = mkIf cfg.enable {
|
2024-12-17 12:10:05 +00:00
|
|
|
stylix = True // {
|
|
|
|
# COLORIZE !!!
|
2024-11-21 09:24:15 +00:00
|
|
|
autoEnable = false;
|
2024-12-22 09:34:08 +00:00
|
|
|
base16Scheme = "${wal}/base16/${x.theme}.yaml";
|
2024-11-21 09:24:15 +00:00
|
|
|
targets = {
|
|
|
|
console = True; # TTY
|
|
|
|
chromium = True; # CHROMIUM LOL
|
|
|
|
fish = True; # SHELL
|
2024-12-17 12:10:05 +00:00
|
|
|
plymouth = True // {
|
|
|
|
logoAnimated = true;
|
|
|
|
}; # STARTING SCREEN
|
2024-11-21 09:24:15 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|