From cbcd022f302adc39ecb89fba6faf72e68184c0e0 Mon Sep 17 00:00:00 2001
From: Cullum Smith <cullum@sacredheartsc.com>
Date: Fri, 2 Aug 2024 19:10:39 -0400
Subject: halfway working idm server and laptop hostclasses

---
 .../chromium/policies/managed/policies.json.common | 96 ++++++++++++++++++++++
 1 file changed, 96 insertions(+)
 create mode 100644 files/usr/local/etc/chromium/policies/managed/policies.json.common

(limited to 'files/usr/local/etc/chromium/policies')

diff --git a/files/usr/local/etc/chromium/policies/managed/policies.json.common b/files/usr/local/etc/chromium/policies/managed/policies.json.common
new file mode 100644
index 0000000..0e57885
--- /dev/null
+++ b/files/usr/local/etc/chromium/policies/managed/policies.json.common
@@ -0,0 +1,96 @@
+{
+  "AdvancedProtectionAllowed": false,
+  "AlternateErrorPagesEnabled": false,
+  "AutofillCreditCardEnabled": false,
+  "AuthNegotiateDelegateAllowlist": "*.${domain}",
+  "AuthServerAllowlist": "*.${domain}",
+  "BackgroundModeEnabled": false,
+  "BlockThirdPartyCookies": true,
+  "BrowserGuestModeEnabled": false,
+  "BrowserLabsEnabled": false,
+  "BrowserNetworkTimeQueriesEnabled": false,
+  "BrowserSignin": 0,
+  "CloudPrintProxyEnabled": false,
+  "CloudReportingEnabled": false,
+  "DefaultBrowserSettingEnabled": false,
+  "DefaultCookiesSetting": 1,
+  "DefaultSearchProviderEnabled": true,
+  "DefaultSearchProviderName": "DuckDuckGo",
+  "DefaultSearchProviderIconURL": "https://duckduckgo.com/favicon.ico",
+  "DefaultSearchProviderEncodings": [
+    "UTF-8"
+  ],
+  "DefaultSearchProviderSearchURL": "https://duckduckgo.com/?q={searchTerms}",
+  "DefaultSearchProviderSuggestURL":"https://duckduckgo.com/ac/?q={searchTerms}&type=list",
+  "DefaultSearchProviderNewTabURL":"https://duckduckgo.com/chrome_newtab",
+  "DnsOverHttpsMode": "off",
+  "EnableAuthNegotiatePort": true,
+  "EnableMediaRouter": false,
+  "MetricsReportingEnabled": false,
+  "NetworkPredictionOptions": 2,
+  "PasswordManagerEnabled": false,
+  "PaymentMethodQueryEnabled": false,
+  "PrivacySandboxAdMeasurementEnabled": false,
+  "PrivacySandboxAdTopicsEnabled": false,
+  "PrivacySandboxPromptEnabled": false,
+  "PrivacySandboxSiteEnabledAdsEnabled": false,
+  "PromotionalTabsEnabled": false,
+  "SafeBrowsingProtectionLevel": 0,
+  "SearchSuggestEnabled": false,
+  "SyncDisabled": true,
+  "TranslateEnabled": false,
+  "UrlKeyedAnonymizedDataCollectionEnabled": false,
+  "ManagedBookmarks": [
+    {
+      "toplevel_name": "Internal"
+    },
+    {
+      "name": "Poudriere",
+      "url": "http://pkg.${domain}/poudriere"
+    }
+  ],
+  "ExtensionSettings": {
+    "cjpalhdlnbpafiamejdnhcphjbkeiagm": {
+      "installation_mode": "force_installed",
+      "update_url": "https://clients2.google.com/service/update2/crx"
+    },
+    "nngceckbapebfimnlniiiahkandclblb": {
+      "installation_mode": "normal_installed",
+      "update_url": "https://clients2.google.com/service/update2/crx"
+    },
+    "cimiefiiaegbelhefglklhhakcgmhkai": {
+      "installation_mode": "$(if [ "${desktop_type:-}" = kde ]; then echo normal_installed; else echo allowed; fi)",
+      "update_url": "https://clients2.google.com/service/update2/crx"
+    }
+  },
+  "3rdparty": {
+    "extensions": {
+      "cjpalhdlnbpafiamejdnhcphjbkeiagm": {
+        "toOverwrite": {
+          "filterLists": [
+            "user-filters",
+            "ublock-filters",
+            "ublock-badware",
+            "ublock-privacy",
+            "ublock-abuse",
+            "ublock-unbreak",
+            "ublock-annoyances",
+            "easylist",
+            "easyprivacy",
+            "urlhaus-1",
+            "plowe-0",
+            "fanboy-annoyance",
+            "fanboy-thirdparty_social",
+            "adguard-spyware-url",
+            "ublock-quick-fixes"
+          ]
+        },
+        "toAdd": {
+          "trustedSiteDirectives": [
+            "${domain}"
+          ]
+        }
+      }
+    }
+  }
+}
-- 
cgit v1.2.3