diff --git a/mpv.conf b/mpv.conf new file mode 100644 index 0000000..c075945 --- /dev/null +++ b/mpv.conf @@ -0,0 +1,3 @@ +# Qubes performance settings +profile=sw-fast +vo=x11 diff --git a/policies.json b/policies.json new file mode 100644 index 0000000..e4739eb --- /dev/null +++ b/policies.json @@ -0,0 +1,85 @@ +{ + "policies": { + "OverrideFirstRunPage": "", + "NoDefaultBookmarks": true, + "DisableTelemetry": true, + "DisableFirefoxAccounts": true, + "DisablePocket": true, + + "FirefoxHome": { + "Search": false, + "TopSites": false, + "SponsoredTopSites": false, + "Highlights": false, + "Pocket": false, + "Stories": false, + "SponsoredPocket": false, + "SponsoredStories": false, + "Snippets": false + }, + + "Homepage": { "StartPage": "none" }, + + "NewTabPage": false, + + "SearchEngines": { + "Remove": ["Bing", "eBay", "Google", "Perplexity", "Qwant"], + "Default": "DuckDuckGo" + }, + + "UserMessaging": { + "ExtensionRecommendations": false, + "FeatureRecommendations": false, + "UrlbarInterventions": false, + "SkipOnboarding": false, + "MoreFromMozilla": false, + "FirefoxLabs": false + }, + + "GenerativeAI": { + "Enabled": false, + "Chatbot": false, + "LinkPreviews": false, + "TabGroups": false + }, + + "SearchSuggestEnabled": false, + + "FirefoxSuggest": { + "WebSuggestions": false, + "SponsoredSuggestions": false, + "ImproveSuggest": false + }, + + "EnableTrackingProtection": { + "Value": true, + "Cryptomining": true, + "Fingerprinting": true, + "EmailTracking": true, + "SuspectedFingerprinting": true, + "Category": "strict", + "BaselineExceptions": false, + "ConvenienceExceptions": true + }, + + "AutofillAddressEnabled": false, + "AutofillCreditCardEnabled": false, + + "Preferences": { + "privacy.globalprivacycontrol.enabled": true, + "network.cookie.cookieBehavior": 1, + "signon.rememberSignons": false, + "browser.formfill.enable": false, + + "browser.search.suggest.enabled": false, + "browser.urlbar.suggest.searches": false, + "browser.urlbar.suggest.history": false, + "browser.urlbar.suggest.bookmark": false, + "browser.urlbar.suggest.openpage": false, + "browser.urlbar.suggest.topsites": false, + "browser.urlbar.suggest.quicksuggest": false, + "browser.urlbar.suggest.pocket": false, + "browser.urlbar.suggest.engines": false + } + } +} diff --git a/template-pi.sh b/template-pi.sh index 8d7298a..227e4cc 100644 --- a/template-pi.sh +++ b/template-pi.sh @@ -4,9 +4,6 @@ sudo dnf install langpacks-en langpacks-fr localectl set-locale fr_FR.UTF-8 -# Ad Blocker -sudo dnf install mozilla-ublock-origin - # RPM Fusion sudo dnf config-manager setopt rpmfusion-free.enabled=1 sudo dnf config-manager setopt rpmfusion-free-updates.enabled=1 @@ -14,13 +11,23 @@ sudo dnf config-manager setopt rpmfusion-nonfree.enabled=1 sudo dnf config-manager setopt rpmfusion-nonfree-updates.enabled=1 sudo dnf upgrade --refresh +# RPM Fusion Tainted repos +sudo dnf install rpmfusion-free-release-tainted rpmfusion-nonfree-release-tainted + +# Ad Blocker +sudo dnf install mozilla-ublock-origin + # Codecs sudo dnf install ffmpeg --allowerasing # MPV sudo dnf install mpv sudo mkdir -p /rw/usrlocal/etc/mpv -echo -e "# Qubes performance settings\nprofile=sw-fast\nvo=x11\n" | sudo tee /rw/usrlocal/etc/mpv/mpv.conf +sudo cp mpv.conf /rw/usrlocal/etc/mpv/ + +# Firefox configuration +sudo mkdir -p /rw/usrlocal/etc/firefox/policies +sudo cp policies.json /rw/usrlocal/etc/firefox/policie/ # Software sudo dnf install gimp inkscape libreoffice qbittorrent