Rename mkTarget's 'configElements' argument to 'config' and 'extraOptions' to 'options' to provide a more transparent interface with the underlying Nixpkgs module system.
17 lines
435 B
Nix
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;
|
|
};
|
|
};
|
|
}
|