mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 15:09:46 +01:00
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.
32 lines
598 B
Nix
32 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";
|
|
};
|
|
};
|
|
};
|
|
});
|
|
}
|