2023-01-08 18:59:48 +00:00
|
|
|
{ config, lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
options.stylix.targets.chromium.enable =
|
|
|
|
config.lib.stylix.mkEnableTarget "Chromium, Google Chrome and Brave" true;
|
|
|
|
|
2024-06-10 09:52:47 +00:00
|
|
|
config.programs.chromium = lib.mkIf (config.stylix.enable && config.stylix.targets.chromium.enable) {
|
2023-01-08 18:59:48 +00:00
|
|
|
# This enables policies without installing the browser. Policies take up a
|
|
|
|
# negligible amount of space, so it's reasonable to have this always on.
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
extraOpts.BrowserThemeColor = config.lib.stylix.colors.withHashtag.base00;
|
|
|
|
};
|
|
|
|
}
|