wait can I just do this

This commit is contained in:
caem 2025-01-25 02:33:52 +01:00
parent 1eb0ce3f15
commit e935526233
Signed by: caem
GPG key ID: 69A830D03203405F
2 changed files with 67 additions and 69 deletions

View file

@ -1,71 +1,5 @@
{ config, ... }:
{ ... }:
{
home.file."${config.xdg.configHome}/mozilla/firefox/policies/policies.json" = {
text = ''
{
"policies": {
"EnableTrackingProtection": {
"Value": true,
"Cryptomining": true,
"Fingerprinting": true,
"EmailTracking": true,
"Level": "strict"
},
"DisableTelemetry": true,
"DisablePocket": true,
"DisableFirefoxStudies": true,
"DisableFirefoxAccounts": false,
"DisableAccounts": false,
"DontCheckDefaultBrowser": true,
"OverrideFirstRunPage": "",
"OverridePostUpdatePage": "",
"NoDefaultBookmarks": true,
"Cookies": {
"Behavior": "reject-foreign",
"BehaviorPrivateBrowsing": "reject-foreign"
},
"UserMessaging": {
"WhatsNew": false,
"ExtensionRecommendations": false,
"FeatureRecommendations": false,
"UrlbarInterventions": false,
"SkipOnboarding": true,
"MoreFromMozilla": false
},
"FirefoxHome": {
"Search": true,
"TopSites": true,
"SponsoredTopSites": false,
"Highlights": false,
"Pocket": false,
"SponsoredPocket": false,
"Snippets": false,
"Locked": true
},
"SearchSuggestEnabled": false,
"ShowSearchSuggestionsFirst": false,
"NewTabPage": false,
"SearchEngines": {
"Add": [
{
"Name": "Kagi",
"URLTemplate": "https://kagi.com/search?q={searchTerms}",
"Method": "GET",
"IconURL": "https://kagi.com/favicon.ico",
"Alias": "@k",
"Default": true
}
],
"Remove": [
"Bing",
"Google",
"DuckDuckGo",
"Wikipedia (en)"
]
}
}
}
'';
};
}