792757f643
Adds support for Firefox forks by introducing methods that create generic configs and options. Additional configs and options can be added in separate modules.
33 lines
598 B
Nix
33 lines
598 B
Nix
modulePath:
|
|
{ config, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
firefoxMockOverlay = import ./setup-firefox-mock-overlay.nix modulePath;
|
|
|
|
in {
|
|
imports = [ firefoxMockOverlay ];
|
|
|
|
config = mkIf config.test.enableBig ({
|
|
test.asserts.assertions.expected =
|
|
[ "Container id must be smaller than 4294967294 (2^32 - 2)" ];
|
|
} // setAttrByPath modulePath {
|
|
enable = true;
|
|
|
|
profiles.my-profile = {
|
|
isDefault = true;
|
|
id = 1;
|
|
|
|
containers = {
|
|
"shopping" = {
|
|
id = 4294967294;
|
|
color = "blue";
|
|
icon = "circle";
|
|
};
|
|
};
|
|
};
|
|
});
|
|
}
|