diff options
Diffstat (limited to 'hm/soispha/conf/firefox/package.nix')
-rw-r--r-- | hm/soispha/conf/firefox/package.nix | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/hm/soispha/conf/firefox/package.nix b/hm/soispha/conf/firefox/package.nix index 5d2b242e..f7e4319b 100644 --- a/hm/soispha/conf/firefox/package.nix +++ b/hm/soispha/conf/firefox/package.nix @@ -11,10 +11,20 @@ base_package ? pkgs.firefox, }: let pkg = base_package.override (old: { - extraPrefsFiles = old.extraPrefsFiles or [] ++ [(pkgs.writeText "firefox-autoconfig.js" autoConfig)]; + extraPrefsFiles = + (old.extraPrefsFiles or []) + ++ [ + (pkgs.writeText "autoConfig.js" autoConfig) + ]; nativeMessagingHosts = old.nativeMessagingHosts or [] ++ extraNativeMessagingHosts; cfg = (old.cfg or {}) // wrapperConfig; - inherit extraPolicies; + extraPoliciesFiles = + (old.extraPoliciesFiles or []) + ++ [ + ( + pkgs.writeText "policies.json" (builtins.toJSON extraPolicies) + ) + ]; }); in pkg |