firefox: add addons per nix

This commit is contained in:
DashieTM 2024-05-25 14:26:39 +02:00
parent 1f76c7359e
commit a5226f566e
14 changed files with 422 additions and 241 deletions

View file

@ -7,5 +7,7 @@
./ssh.nix
./direnv.nix
./git.nix
./firefox.nix
./keepass.nix
];
}

View file

@ -0,0 +1,29 @@
{ inputs, pkgs, ... }: {
programs.firefox = {
enable = true;
policies = {
EnableTrackingProtection = {
Value = true;
Locked = true;
Cryptomining = true;
Fingerprinting = true;
};
DisablePocket = true;
DisplayBookmarksToolbar = "never";
DisplayMenuBar = "default-off";
};
profiles.dashie = {
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
ublock-origin
darkreader
privacy-badger
vimium
keepassxc-browser
i-dont-care-about-cookies
tokyo-night-v2
];
};
};
}

View file

@ -0,0 +1,26 @@
{
xdg.configFile."keepassxc/keepassxc.ini" = {
text =
''
[General]
ConfigVersion=2
[Browser]
CustomProxyLocation=
Enabled=true
[GUI]
ApplicationTheme=classic
HidePasswords=true
TrayIconAppearance=monochrome-light
[PasswordGenerator]
AdditionalChars=
ExcludedChars=
Length=18
[Security]
EnableCopyOnDoubleClick=true
'';
};
}