firefox-bin: custom policy setup via config.firefox.policies

This commit is contained in:
tekeri 2021-08-15 15:43:29 +09:00
parent 000973d1a1
commit 5dc38fe346

View File

@ -72,9 +72,9 @@ let
policies = {
DisableAppUpdate = true;
};
} // config.firefox.policies or {};
policiesJson = writeText "no-update-firefox-policy.json" (builtins.toJSON { inherit policies; });
policiesJson = writeText "firefox-policies.json" (builtins.toJSON { inherit policies; });
defaultSource = lib.findFirst (sourceMatches "en-US") {} sources;