summaryrefslogtreecommitdiff
path: root/modules/browsers/firefox/policies.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/browsers/firefox/policies.nix')
-rw-r--r--modules/browsers/firefox/policies.nix127
1 files changed, 0 insertions, 127 deletions
diff --git a/modules/browsers/firefox/policies.nix b/modules/browsers/firefox/policies.nix
deleted file mode 100644
index 243cd9a..0000000
--- a/modules/browsers/firefox/policies.nix
+++ /dev/null
@@ -1,127 +0,0 @@
-{
- # policies to be set in firefox
- # see: https://mozilla.github.io/policy-templates/
-
- ExtensionSettings = import ./extensions.nix;
- Preferences = import ./prefs.nix;
-
- EnableTrackingProtection = {
- Value = true;
- Locked = true;
- Cryptomining = true;
- Fingerprinting = true;
- EmailTracking = true;
- };
-
- # Certificates
- Certificates = {
- ImportEnterpriseRoots = true;
- };
-
- # Cookies
- Cookies = {
- Behavior = "reject-foreign";
- BehaviorPrivateBrowsing = "reject-foreign";
- Locked = true;
- };
-
- # DNS
- DNSOverHTTPS = {
- Enabled = false;
- Locked = true;
- };
-
- # Disable Bad
- DisableAppUpdate = true;
- DisableAccounts = true;
- DisableFirefoxAccounts = true;
- DisableFirefoxScreenshots = true;
- DisableFirefoxStudies = true;
- DisablePocket = true;
- DisableTelemetry = true;
- AutofillAddressEnabled = false;
- AutofillCreditCardEnabled = false;
-
- # Disable Certain Messages
- UserMessaging = {
- WhatsNew = false;
- ExtensionRecommendations = false;
- FeatureRecommendations = false;
- UrlbarInterventions = false;
- SkipOnboarding = true;
- MoreFromMozilla = false;
- Labs = false;
- Locked = true;
- };
-
- # Disable Password Manager
- DisableMasterPasswordCreation = true;
- PasswordManagerEnabled = false;
- PrimaryPassword = false;
- OfferToSaveLogins = false;
-
- # Remove Special Pages
- OverrideFirstRunPage = "";
- OverridePostUpdatePage = "";
-
- # Start Page
- Homepage = {
- StartPage = "previous-session";
- Locked = true;
- };
-
- # Home Page
- FirefoxHome = {
- Search = true;
- TopSites = false;
- SponsoredTopSites = false;
- Highlights = false;
- Pocket = false;
- SponsoredPocket = false;
- Snippets = false;
- Locked = true;
- };
-
- # Search Suggestions
- SearchSuggestEnabled = true;
- FirefoxSuggest = {
- WebSuggestions = false;
- SponsoredSuggestions = false;
- ImproveSuggest = false;
- Locked = true;
- };
-
- # Save All on Shutdown
- SanitizeOnShutdown = false;
-
- # Popups
- PopupBlocking = {
- Default = true;
- Locked = true;
- };
-
- # Allow Bypasses
- DisableSecurityBypass = {
- InvalidCertificate = false;
- SafeBrowsing = false;
- };
-
- # PictureInPicure
- PictureInPicture = {
- Enabled = true;
- Locked = true;
- };
-
- # Topbar
- SearchBar = "unified";
- DisplayMenuBar = "default-off";
- DisplayBookmarksToolbar = "newtab";
- NoDefaultBookmarks = true;
-
- # Miscellaneous
- HttpsOnlyMode = "force_enabled";
- HardwareAcceleration = true;
- DontCheckDefaultBrowser = true;
- PromptForDownloadLocation = false;
- PrivateBrowsingModeAvailability = 0;
-}