summary refs log tree commit diff
path: root/modules/software-templates/firefox-policy.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/software-templates/firefox-policy.nix')
-rw-r--r--modules/software-templates/firefox-policy.nix78
1 files changed, 78 insertions, 0 deletions
diff --git a/modules/software-templates/firefox-policy.nix b/modules/software-templates/firefox-policy.nix
new file mode 100644
index 0000000..9e07193
--- /dev/null
+++ b/modules/software-templates/firefox-policy.nix
@@ -0,0 +1,78 @@
+{
+    AppAutoUpdate = false;
+    BackgroundAppUpdate = false;
+    BlockAboutAddons = false;
+    BlockAboutConfig = false;
+    BlockAboutProfiles = false;
+    BlockAboutSupport = false;
+    CaptivePortal = false;
+    Cookies = {
+        Block = import ../../data/domain_lists/airelle.nix;
+        AcceptThirdParty = false;
+        RejectTracker = true;
+        Behavior = "reject-tracker";
+    };
+    DisableBuiltInPDFViewer = false;
+    DisableFirefoxAccounts = true;
+    DisableFeedbackCommands = true;
+    DisableFirefoxStudies = true;
+    DisableFirefoxScreenshots = true;
+    DisablePocket = true;
+    DisableSystemAddonUpdate = true;
+    DisableTelemetry = true;
+    DisplayBookmarksToolbar = "always";
+    DisplayMenuBar = "always";
+    DNSOverHTTPS = {
+        Enabled = false;
+    };
+    DontCheckDefaultBrowser = true;
+    EnableTrackingProtection = {
+        Value = true;
+        Cryptomining = true;
+        Fingerprinting = true;
+        EmailTracking = true;
+    };
+    EncryptedMediaExtensions = {
+        Enabled = false;
+    };
+    Extensions = {
+        Install = [
+            "https://github.com/gorhill/uBlock/releases/download/1.52.2/uBlock0_1.52.2.firefox.signed.xpi"
+        ];
+    };
+    ExtensionUpdate = false;
+    FirefoxHome = {
+        Snippets = false;
+        TopSites = false;
+        Highlights = false;
+        Pocket = false;
+        SponsoredTopSites = false;
+        SponsoredPocket = false;
+    };
+    FirefoxSuggest = {
+        ImproveSuggest = false;
+        SponsoredSuggestions = false;
+        WebSuggestions = false;
+    };
+    GoToIntranetSiteForSingleWordEntryInAddressBar = true;
+    LocalFileLinks = [
+        "file://"
+        "https://*.rory.gay"
+        "http://*.localhost"
+        "http://localhost"
+    ];
+    PictureInPicture = false;
+    SearchSuggestEnabled = false;
+    UserMessaging = {
+        WhatsNew = false;
+        ExtensionRecommendations = false;
+        UrlbarInterventions = false;
+        SkipOnboarding = true;
+        MoreFromMozilla = false;
+        Locked = true;
+    };
+    WebsiteFilter = {
+        Block = import ../../data/domain_lists/airelle.nix;
+    };
+    WindowsSSO = true;
+}
\ No newline at end of file