mirror of
https://github.com/danth/stylix
synced 2024-11-26 22:20:22 +00:00
14 lines
488 B
Nix
14 lines
488 B
Nix
{ config, lib, ... }:
|
|
|
|
{
|
|
options.stylix.targets.chromium.enable =
|
|
config.lib.stylix.mkEnableTarget "Chromium, Google Chrome and Brave" true;
|
|
|
|
config.programs.chromium = lib.mkIf config.stylix.targets.chromium.enable {
|
|
# 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;
|
|
};
|
|
}
|