2023-10-13 08:34:11 +02:00
|
|
|
{ config, lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [ ./setup-firefox-mock-overlay.nix ];
|
|
|
|
|
|
|
|
config = lib.mkIf config.test.enableBig {
|
|
|
|
test.asserts.assertions.expected = [''
|
2023-10-11 08:47:17 +02:00
|
|
|
Must not have a Firefox profile with an existing ID but
|
2023-10-13 08:34:11 +02:00
|
|
|
- ID 1 is used by first, second''];
|
|
|
|
|
|
|
|
programs.firefox = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
profiles = {
|
|
|
|
first = {
|
|
|
|
isDefault = true;
|
|
|
|
id = 1;
|
|
|
|
};
|
|
|
|
second = { id = 1; };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|