2024-03-13 00:20:41 +01:00
|
|
|
modulePath:
|
|
|
|
{ config, lib, ... }:
|
|
|
|
let
|
2025-02-21 21:20:07 -08:00
|
|
|
moduleName = lib.concatStringsSep "." modulePath;
|
2021-05-14 21:06:54 +02:00
|
|
|
|
2024-03-13 00:20:41 +01:00
|
|
|
firefoxMockOverlay = import ./setup-firefox-mock-overlay.nix modulePath;
|
|
|
|
in {
|
|
|
|
imports = [ firefoxMockOverlay ];
|
|
|
|
|
2025-02-21 21:20:07 -08:00
|
|
|
config = lib.mkIf config.test.enableBig (lib.setAttrByPath modulePath {
|
2024-03-13 00:20:41 +01:00
|
|
|
enable = true;
|
|
|
|
enableGnomeExtensions = true;
|
|
|
|
} // {
|
2023-10-13 08:33:10 +02:00
|
|
|
test.asserts.warnings.expected = [''
|
2024-03-13 00:20:41 +01:00
|
|
|
Using '${moduleName}.enableGnomeExtensions' has been deprecated and
|
2023-10-13 08:33:10 +02:00
|
|
|
will be removed in the future. Please change to overriding the package
|
2024-03-13 00:20:41 +01:00
|
|
|
configuration using '${moduleName}.package' instead. You can refer to
|
2023-10-13 08:33:10 +02:00
|
|
|
its example for how to do this.
|
|
|
|
''];
|
2024-03-13 00:20:41 +01:00
|
|
|
});
|
2021-05-14 21:06:54 +02:00
|
|
|
}
|