1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-04 08:01:02 +01:00
home-manager/tests/modules/programs/firefoxpwa/config.nix
bricked 218da00bfa
firefoxpwa: add module (#7408)
Adds the `firefoxpwa` module for the native Progressive Web Apps for
Firefox application.
2025-07-08 10:56:50 -05:00

17 lines
505 B
Nix

{
programs.firefoxpwa = {
enable = true;
package = null;
profiles."0123456789ABCDEFGHJKMNPQRS".sites."ZYXWVTSRQPNMKJHGFEDCBA9876" = {
name = "MDN Web Docs";
url = "https://developer.mozilla.org/";
manifestUrl = "https://developer.mozilla.org/manifest.f42880861b394dd4dc9b.json";
};
};
nmt.script = ''
configFile=home-files/.local/share/firefoxpwa/config.json
assertFileExists $configFile
assertFileContent $configFile ${./config-expected.json}
'';
}