flake/home/applications/firefox/default.nix

17 lines
414 B
Nix
Raw Normal View History

2024-02-13 20:36:41 +00:00
{pkgs, ...}: {
programs.firefox = {
enable = true;
2024-06-23 15:20:57 +00:00
package = pkgs.firefox.override {
extraPrefsFiles = [
"${pkgs.arkenfox-userjs}/user.cfg"
(pkgs.runCommandLocal "userjs" {} ''
install -Dm644 ${./user-overrides.js} $out
substituteInPlace $out \
--replace-fail "user_pref" "defaultPref"
'')
];
};
2024-06-23 15:20:57 +00:00
profiles."default" = {};
};
2023-11-05 12:50:08 +00:00
}