diff options
author | Soispha <soispha@vhack.eu> | 2023-10-21 22:30:59 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-10-21 22:30:59 +0200 |
commit | 27a254a27df47cac88ce8053b4efe575cf9c481e (patch) | |
tree | 5441124451062b275592bf798e9da88f10851f26 /hm/soispha/conf/firefox/config/prefs | |
parent | fix(hm/conf/firefox/scr/extensions): Add required 'default_area' (diff) | |
download | nixos-config-27a254a27df47cac88ce8053b4efe575cf9c481e.zip |
feat(hm/conf/firefox): Use the policy.json file for configs
Diffstat (limited to 'hm/soispha/conf/firefox/config/prefs')
-rw-r--r-- | hm/soispha/conf/firefox/config/prefs/default.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/hm/soispha/conf/firefox/config/prefs/default.nix b/hm/soispha/conf/firefox/config/prefs/default.nix index 6bcaf76f..80c6d274 100644 --- a/hm/soispha/conf/firefox/config/prefs/default.nix +++ b/hm/soispha/conf/firefox/config/prefs/default.nix @@ -2,11 +2,9 @@ pkgs, config, user_js, - lib, + bookmarks, ... }: let - bookmarks = import ../bookmarks; - firefoxBookmarksFile = (import ../../functions/bookmarks) {inherit lib pkgs;}; user_js_override = pkgs.writeText "user.override.js" (builtins.readFile ./override.js); in pkgs.runCommand "user.js" {} '' @@ -16,7 +14,7 @@ in cat << EOF >> $out/user.js; // My bookmarks - user_pref("browser.bookmarks.file", "${toString (firefoxBookmarksFile bookmarks)}"); + user_pref("browser.bookmarks.file", "${toString bookmarks}"); user_pref("browser.startup.homepage", "file:///home/dt/home.html"); // 0103 // TODO: add this from a flake user_pref("browser.download.dir", "${config.xdg.userDirs.download}"); EOF |