Merge pull request #275637 from SuperSandro2000/firefox-app-update

nixos/firefox: disable updates when policies when programs.firefox.policies is defined
This commit is contained in:
Nick Cao 2024-01-07 10:29:43 -05:00 committed by GitHub
commit 59eabdc943
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -284,6 +284,7 @@ in
# Preferences are converted into a policy
programs.firefox.policies = {
DisableAppUpdate = true;
Preferences = (mapAttrs
(_: value: { Value = value; Status = cfg.preferencesStatus; })
cfg.preferences);