2.home-manager/tests/modules
Andrew Marshall bd530df4e2
firefox: avoid unnecessarily overriding package
When `cfg.package` is already wrapped, and wrapped without the
`ExtensionSettings` key set, this would always add that key, even if its
value was blank. This would result in `cfg.finalPackage` being a
functionally-identical, but differently-input-addressed package. This is
generally undesirable as it may result in multiple derivations being
built, and also if the value of `cfg.package` is expected to be
unchanged by the user (e.g. because they want it to be consistent
between NixOS and HM configuration).

Add a test to ensure this does not regress in the default case. Only
test on newish stateVersion since the logic for `isWrapped` differs on
older versions.
2025-01-29 18:29:44 +01:00
..
accounts tests: allow testing assertions 2021-02-07 22:48:22 +01:00
config/i18n i18n: Use glibcLocales from NixOS if possible (#2333) (#4177) 2023-07-04 11:28:25 +02:00
files tests: various minor cleanups 2023-05-13 00:09:52 +02:00
home-environment i18n: Use glibcLocales from NixOS if possible (#2333) (#4177) 2023-07-04 11:28:25 +02:00
i18n/input-method fcitx5: fix package reference in test 2024-12-06 12:08:32 +01:00
launchd launchd: make Launch Agents config a freeform setting 2023-03-25 23:59:58 +01:00
misc nix: simplify tests 2024-12-06 12:24:37 +01:00
programs firefox: avoid unnecessarily overriding package 2025-01-29 18:29:44 +01:00
services ollama: add darwin support 2025-01-25 00:54:49 +01:00
systemd tests: change quoting to match new Nixpkgs behavior 2024-09-08 23:32:19 +02:00
targets-darwin darwin: use full path to commands in activation script 2022-11-05 12:14:08 +09:00
targets-linux xdg.systemDirs: init module (#1797) 2021-05-10 20:14:42 -04:00
xresources xresources: allow floating point values 2024-12-22 19:48:53 +01:00