Style Chromium, Google Chrome and Brave ✨
This commit is contained in:
parent
e43c98f9e7
commit
11e2e188de
2 changed files with 15 additions and 0 deletions
|
|
@ -61,6 +61,7 @@
|
|||
imports = [
|
||||
./modules/alacritty.nix
|
||||
./modules/bemenu.nix
|
||||
./modules/chromium.nix
|
||||
./modules/console.nix
|
||||
./modules/dunst.nix
|
||||
./modules/feh.nix
|
||||
|
|
|
|||
14
modules/chromium.nix
Normal file
14
modules/chromium.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue