11.stylix/modules/chromium/nixos.nix
NAHO 16df6b8448
treewide: rename mkTarget's configElements and extraOptions options
Rename mkTarget's 'configElements' argument to 'config' and
'extraOptions' to 'options' to provide a more transparent interface with
the underlying Nixpkgs module system.
2025-12-10 14:48:20 +01:00

17 lines
435 B
Nix

{ mkTarget, ... }:
mkTarget {
name = "chromium";
humanName = "Chromium, Google Chrome and Brave";
config =
{ colors }:
{
programs.chromium = {
# 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 = colors.withHashtag.base00;
};
};
}