firefox: add addons per nix
This commit is contained in:
parent
1f76c7359e
commit
a5226f566e
14 changed files with 422 additions and 241 deletions
|
|
@ -7,5 +7,7 @@
|
|||
./ssh.nix
|
||||
./direnv.nix
|
||||
./git.nix
|
||||
./firefox.nix
|
||||
./keepass.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
29
nix/programs/individual_configs/firefox.nix
Normal file
29
nix/programs/individual_configs/firefox.nix
Normal 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
|
||||
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
26
nix/programs/individual_configs/keepass.nix
Normal file
26
nix/programs/individual_configs/keepass.nix
Normal 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
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue