feat: configure zen browsers extensions and policies
This commit is contained in:
parent
2202cd39cd
commit
b07f9ab600
3 changed files with 91 additions and 0 deletions
43
flake.lock
generated
43
flake.lock
generated
|
|
@ -1,5 +1,26 @@
|
|||
{
|
||||
"nodes": {
|
||||
"flake-parts": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"nur",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1733312601,
|
||||
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
|
@ -92,12 +113,34 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nur": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1772311898,
|
||||
"narHash": "sha256-tcytPbQci6Bvo4DXXGLtGghdFXyC+TVKG70IDlJnr9s=",
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"rev": "a91b651e8469c0ea0b52b3851c276b0b1f85b7de",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"home-manager": "home-manager",
|
||||
"nix-index-database": "nix-index-database",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nur": "nur",
|
||||
"zen-browser": "zen-browser"
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -14,6 +14,10 @@
|
|||
url = "github:nix-community/nix-index-database";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nur = {
|
||||
url = "github:nix-community/NUR";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs@{
|
||||
|
|
@ -41,6 +45,7 @@
|
|||
}
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
inputs.nur.overlays.default
|
||||
(final: prev: {
|
||||
|
||||
antigravity = prev.antigravity.overrideAttrs (oldAttrs: rec {
|
||||
|
|
|
|||
43
home.nix
43
home.nix
|
|
@ -286,6 +286,29 @@
|
|||
enable = true;
|
||||
suppressXdgMigrationWarning = true;
|
||||
policies = {
|
||||
DisableTelemetry = true;
|
||||
DisableFirefoxStudies = true;
|
||||
DisablePocket = true;
|
||||
DontCheckDefaultBrowser = true;
|
||||
DisableAppUpdate = true;
|
||||
DisableMasterPasswordCreation = true;
|
||||
DisablePasswordReveal = true;
|
||||
DisableProfileImport = true;
|
||||
ExtensionUpdate = false;
|
||||
OfferToSaveLogins = false;
|
||||
DisableFirefoxAccounts = true;
|
||||
DisableFormHistory = true;
|
||||
DisableSafeMode = true;
|
||||
DisableSetDesktopBackground = true;
|
||||
EnableTrackingProtection = {
|
||||
Value = true;
|
||||
Locked = true;
|
||||
Cryptomining = true;
|
||||
Fingerprinting = true;
|
||||
};
|
||||
HardwareAcceleration = true;
|
||||
NoDefaultBookmarks = true;
|
||||
PasswordManagerEnabled = false;
|
||||
Preferences = {
|
||||
"zen.theme.border-radius" = 0;
|
||||
"zen.theme.content-element-separation" = 0;
|
||||
|
|
@ -293,6 +316,26 @@
|
|||
};
|
||||
profiles.default = {
|
||||
isDefault = true;
|
||||
settings = {
|
||||
"identity.fxaccounts.enabled" = false;
|
||||
};
|
||||
extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
ublock-origin
|
||||
onepassword-password-manager
|
||||
sponsorblock
|
||||
darkreader
|
||||
vimium
|
||||
return-youtube-dislikes
|
||||
react-devtools
|
||||
firefox-color
|
||||
pay-by-privacy
|
||||
translate-web-pages
|
||||
user-agent-string-switcher
|
||||
copy-selected-tabs-to-clipboard
|
||||
dearrow
|
||||
violentmonkey
|
||||
tst-indent-line
|
||||
];
|
||||
search = {
|
||||
default = "SearXNG";
|
||||
privateDefault = "SearXNG";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue