nix/config/Stylix.nix

28 lines
771 B
Nix
Raw Normal View History

{ pkgs, config, __findFile, ... }: {
stylix = {
2024-06-26 09:51:41 +03:00
enable = true;
image = config.module.wallpaper.path;
2024-06-30 03:04:33 +03:00
autoEnable = true;
2024-06-26 09:51:41 +03:00
polarity = "dark";
fonts = {
inherit (config.style.font) serif sansSerif monospace emoji;
2024-04-03 00:23:03 +03:00
sizes = {
inherit (config.style.font.size) terminal desktop;
applications = config.style.font.size.application;
2024-08-02 23:45:19 +03:00
popups = config.style.font.size.popup;
2024-04-03 00:23:03 +03:00
};
};
opacity = {
inherit (config.style.opacity) desktop terminal;
applications = config.style.opacity.application;
popups = config.style.opacity.popups;
};
inherit (config.style) cursor;
override = if config.module.wallpaper.forceContrastText then {
2024-06-23 01:02:11 +03:00
base04 = "000000";
2024-05-07 16:12:07 +03:00
base05 = "ffffff";
base06 = "ffffff";
} else {};
2024-04-03 00:23:03 +03:00
};
}