From 2f28361d79cb080cb836940564e74683d3e34871 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 25 Nov 2023 17:11:59 +0100 Subject: fix(hm/conf/firefox/package): Readd policies to firefox --- hm/soispha/conf/firefox/package.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'hm') 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 -- cgit 1.4.1