aboutsummaryrefslogtreecommitdiff
path: root/files/usr/local/lib
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-08-02 19:10:39 -0400
committerCullum Smith <cullum@sacredheartsc.com>2024-08-02 19:10:39 -0400
commitcbcd022f302adc39ecb89fba6faf72e68184c0e0 (patch)
treea5ab154e08fa3c4fa110b09d3475736c66840c8b /files/usr/local/lib
parentceb339370d7a0cc4a83fe54103a650dfb3f72261 (diff)
downloadinfrastructure-cbcd022f302adc39ecb89fba6faf72e68184c0e0.tar.gz
halfway working idm server and laptop hostclasses
Diffstat (limited to 'files/usr/local/lib')
-rw-r--r--files/usr/local/lib/firefox/distribution/policies.json.common163
-rw-r--r--files/usr/local/lib/libreoffice/program/sofficerc.common18
-rw-r--r--files/usr/local/lib/sasl2/slapd.conf.idm_server3
3 files changed, 184 insertions, 0 deletions
diff --git a/files/usr/local/lib/firefox/distribution/policies.json.common b/files/usr/local/lib/firefox/distribution/policies.json.common
new file mode 100644
index 0000000..96d463c
--- /dev/null
+++ b/files/usr/local/lib/firefox/distribution/policies.json.common
@@ -0,0 +1,163 @@
+{
+ "policies": {
+ "ExtensionSettings": {
+ "uBlock0@raymondhill.net": {
+ "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi",
+ "installation_mode": "force_installed"
+ },
+ "{446900e4-71c2-419f-a6a7-df9c091e268b}": {
+ "install_url": "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi",
+ "installation_mode": "normal_installed"
+ },
+ "7esoorv3@alefvanoon.anonaddy.me": {
+ "install_url": "https://addons.mozilla.org/firefox/downloads/latest/libredirect/latest.xpi",
+ "installation_mode": "normal_installed"
+ },
+ "{9cbd40c5-5275-443e-811b-dc57d8c7c5d2}": {
+ "install_url": "https://addons.mozilla.org/firefox/downloads/latest/kde-default-breeze/latest.xpi",
+ "installation_mode": "$(if [ "${desktop_type:-}" = kde ]; then echo 'normal_installed'; else echo 'allowed'; fi)"
+ },
+ "plasma-browser-integration@kde.org": {
+ "install_url": "https://addons.mozilla.org/firefox/downloads/latest/plasma-integration/latest.xpi",
+ "installation_mode": "$(if [ "${desktop_type:-}" = kde ]; then echo normal_installed; else echo allowed; fi)"
+ }
+ },
+ "3rdparty": {
+ "Extensions": {
+ "uBlock0@raymondhill.net": {
+ "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}"
+ ]
+ }
+ }
+ }
+ },
+ "UserMessaging": {
+ "WhatsNew": false,
+ "ExtensionRecommendations": false,
+ "UrlbarInterventions": false,
+ "SkipOnboarding": true
+ },
+ "OverridePostUpdatePage": "",
+ "OverrideFirstRunPage": "",
+ "EnableTrackingProtection": {
+ "Value": false,
+ "Cryptomining": false,
+ "Fingerprinting": false,
+ "Locked": false
+ },
+ "Cookies": {
+ "Behavior": "reject-tracker-and-partition-foreign",
+ "BehaviorPrivateBrowsing": "reject-tracker-and-partition-foreign"
+ },
+ "Authentication": {
+ "SPNEGO": ["${domain}"],
+ "AllowNonFQDN": {
+ "SPNEGO": true
+ },
+ "AllowProxies": {
+ "SPNEGO": true
+ }
+ },
+ "NoDefaultBookmarks": true,
+ "DisablePocket": true,
+ "DisableAppUpdate": true,
+ "CaptivePortal": false,
+ "Certificates": {
+ "Install": [
+ "${site_cacert_path}"
+ ]
+ },
+ "DisableFeedbackCommands": true,
+ "DisableFirefoxAccounts": true,
+ "DisableFirefoxStudies": true,
+ "DisableTelemetry": true,
+ "DontCheckDefaultBrowser": true,
+ "OfferToSaveLoginsDefault": false,
+ "DNSOverHTTPS": {
+ "Enabled": false
+ },
+ "SearchSuggestEnabled": false,
+ "Homepage": {
+ "URL": "about:home",
+ "StartPage": "homepage"
+ },
+ "FirefoxHome": {
+ "Search": true,
+ "TopSites": false,
+ "SponsoredTopSites": false,
+ "Highlights": false,
+ "Pocket": false,
+ "SponsoredPocket": false,
+ "Snippets": false
+ },
+ "ManagedBookmarks": [
+ {
+ "toplevel_name": "Intranet"
+ },
+ {
+ "url": "http://pkg.${domain}/poudriere/",
+ "name": "Poudriere"
+ }
+ ],
+ "ExtensionUpdate": true,
+ "Preferences": {
+ "dom.security.https_only_mode": {
+ "Value": true,
+ "Status": "locked"
+ },
+ "dom.push.connection.enabled": {
+ "Value": false,
+ "Status": "default"
+ },
+ "privacy.trackingprotection.socialtracking.enabled": {
+ "Value": false,
+ "Status": "locked"
+ },
+ "browser.urlbar.suggest.quicksuggest.nonsponsored": {
+ "Value": false,
+ "Status": "locked"
+ },
+ "browser.urlbar.suggest.quicksuggest.sponsored": {
+ "Value": false,
+ "Status": "locked"
+ },
+ "browser.toolbars.bookmarks.visibility": {
+ "Value": "newtab",
+ "Status": "default"
+ },
+ "browser.safebrowsing.malware.enabled": {
+ "Value": false,
+ "Status": "locked"
+ },
+ "browser.safebrowsing.phishing.enabled": {
+ "Value": false,
+ "Status": "locked"
+ },
+ "browser.safebrowsing.downloads.enabled": {
+ "Value": false,
+ "Status": "locked"
+ }
+ }
+ }
+}
diff --git a/files/usr/local/lib/libreoffice/program/sofficerc.common b/files/usr/local/lib/libreoffice/program/sofficerc.common
new file mode 100644
index 0000000..77574a4
--- /dev/null
+++ b/files/usr/local/lib/libreoffice/program/sofficerc.common
@@ -0,0 +1,18 @@
+[Bootstrap]
+CrashDirectory=${$BRAND_BASE_DIR/program/bootstraprc:UserInstallation}/crash
+CrashDumpEnable=true
+HideEula=1
+Logo=0
+NativeProgress=false
+ProgressBarColor=0,0,0
+ProgressFrameColor=102,102,102
+ProgressPosition=30,145
+ProgressSize=385,8
+ProgressTextBaseline=170
+ProgressTextColor=0,0,0
+SecureUserConfig=true
+SecureUserConfigCompress=true
+SecureUserConfigExtensions=true
+SecureUserConfigMode=1
+SecureUserConfigNumCopies=2
+URE_BOOTSTRAP=${ORIGIN}/fundamentalrc
diff --git a/files/usr/local/lib/sasl2/slapd.conf.idm_server b/files/usr/local/lib/sasl2/slapd.conf.idm_server
new file mode 100644
index 0000000..56836c1
--- /dev/null
+++ b/files/usr/local/lib/sasl2/slapd.conf.idm_server
@@ -0,0 +1,3 @@
+mech_list: gssapi external plain login
+pwcheck_method: saslauthd
+saslauthd_path: ${saslauthd_runtime_dir}/mux