From 27a254a27df47cac88ce8053b4efe575cf9c481e Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 21 Oct 2023 22:30:59 +0200 Subject: feat(hm/conf/firefox): Use the policy.json file for configs --- hm/soispha/conf/firefox/config/prefs/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'hm/soispha/conf/firefox/config/prefs') 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 -- cgit 1.4.1