home/firefox: defaultPref -> lockPref
This commit is contained in:
parent
52c3fa4772
commit
34f7930082
2 changed files with 7 additions and 4 deletions
|
@ -4,11 +4,13 @@
|
|||
enable = true;
|
||||
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"
|
||||
substitute ${pkgs.arkenfox-userjs}/user.js $out \
|
||||
--replace-fail 'user_pref' 'lockPref'
|
||||
'')
|
||||
(pkgs.runCommandLocal "userjs" { } ''
|
||||
substitute ${./user-overrides.js} $out \
|
||||
--replace-fail 'user_pref' 'lockPref'
|
||||
'')
|
||||
];
|
||||
};
|
||||
|
|
|
@ -22,6 +22,7 @@ user_pref("signon.rememberSignons", false);
|
|||
// Neat features, nice to have
|
||||
user_pref("browser.compactmode.show", true);
|
||||
user_pref("browser.search.separatePrivateDefault", false);
|
||||
user_pref("browser.tabs.hoverPreview.enabled", true);
|
||||
user_pref("browser.tabs.inTitlebar", 0);
|
||||
user_pref("browser.urlbar.suggest.calculator", true);
|
||||
|
||||
|
|
Loading…
Reference in a new issue