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