1
Fork 0

Tweak firefox settings & edit readme a bit

This commit is contained in:
prescientmoon 2024-11-27 06:02:03 +01:00
parent d36e576148
commit ad4b1b1de4
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
2 changed files with 33 additions and 29 deletions

View file

@ -6,8 +6,8 @@ In case you are not familiar with nix/nixos, this is a collection of configurati
## Features this repository includes: ## Features this repository includes:
- Sets up all the apps I use — including git, neovim, fish, tmux, starship, hyprland, anyrun, discord, zathura, foot & much more. - Sets up all the apps I use — including git, neovim, fish, starship, hyprland, anyrun, discord, zathura, foot & much more.
- Sets up my entire homelab — including zfs-based [impermanence](https://grahamc.com/blog/erase-your-darlings), automatic let's-encrypt certificates, tailscale, syncthing, vaultwarden, whoogle, pounce, calico, smos, intray, actual & more. - Sets up my entire homelab — including zfs-based [impermanence](https://grahamc.com/blog/erase-your-darlings), automatic let's-encrypt certificates, tailscale, syncthing, vaultwarden, whoogle, pounce, calico, actual & more.
- Consistent base16 theming using [stylix](https://github.com/danth/stylix) - Consistent base16 theming using [stylix](https://github.com/danth/stylix)
- Declarative secret management using [sops-nix](https://github.com/Mic92/sops-nix) - Declarative secret management using [sops-nix](https://github.com/Mic92/sops-nix)
@ -20,7 +20,13 @@ This repo's structure is based on separating configuration into individual hosts
- [calypso](./hosts/nixos/calypso/) — my personal laptop - [calypso](./hosts/nixos/calypso/) — my personal laptop
- [tethys](./hosts/nixos/tethys/) — my previous personal laptop - [tethys](./hosts/nixos/tethys/) — my previous personal laptop
- [lapetus](./hosts/nixos/lapetus/) — older laptop running as a server - [lapetus](./hosts/nixos/lapetus/) — older laptop running as a server
- enceladus — my android phone. Although not configured using nix, this name gets referenced in some places
The following hosts are not configured using nix, but might be referenced in places:
- chaldene — my current phone
- enceladus — my previous phone
- erriapus — my tablet
- euporie — VM used for testing
## File structure ## File structure
@ -96,7 +102,6 @@ Here's some things you might want to check out:
- [Neovim](https://neovim.io/) — my editor - [Neovim](https://neovim.io/) — my editor
- [Neovide](https://neovide.dev/index.html) — neovim gui client - [Neovide](https://neovide.dev/index.html) — neovim gui client
- [Vimclip](https://github.com/hrantzsch/vimclip) — vim anywhere! - [Vimclip](https://github.com/hrantzsch/vimclip) — vim anywhere!
- [Tmux](https://github.com/tmux/tmux/wiki) — terminal multiplexer
- [Fish](https://fishshell.com/) — user friendly shell - [Fish](https://fishshell.com/) — user friendly shell
- [Starship](https://starship.rs/) — shell prompt - [Starship](https://starship.rs/) — shell prompt
- [yazi](https://github.com/sxyazi/yazi) — file manager - [yazi](https://github.com/sxyazi/yazi) — file manager
@ -104,7 +109,6 @@ Here's some things you might want to check out:
- [lazygit](https://github.com/jesseduffield/lazygit) — git tui - [lazygit](https://github.com/jesseduffield/lazygit) — git tui
- Self management: - Self management:
- [Smos](https://github.com/NorfairKing/smos) — selfhosted comprehensive self-management system - [Smos](https://github.com/NorfairKing/smos) — selfhosted comprehensive self-management system
- [Intray](https://github.com/NorfairKing/intray) — selfhosted GTD capture tool
### Services ### Services
@ -116,9 +120,7 @@ Most services are served over [tailscale](https://tailscale.com/), using certifi
- [Commafeed](https://github.com/Athou/commafeed) — rss reader - [Commafeed](https://github.com/Athou/commafeed) — rss reader
- [Forgejo](https://forgejo.org/) — git forge - [Forgejo](https://forgejo.org/) — git forge
- [Grafana](https://github.com/grafana/grafana) — pretty dashboards - [Grafana](https://github.com/grafana/grafana) — pretty dashboards
- [Guacamole](https://guacamole.apache.org/) — remote desktop access
- [Homer](https://github.com/bastienwirtz/homer) — server homepage - [Homer](https://github.com/bastienwirtz/homer) — server homepage
- [Intray](https://github.com/NorfairKing/intray) — GTD capture tool.
- [Invidious](https://invidious.io/) — alternate youtube client - [Invidious](https://invidious.io/) — alternate youtube client
- [Jellyfin](https://jellyfin.org/) — media server - [Jellyfin](https://jellyfin.org/) — media server
- [Jupyterhub](https://jupyter.org/hub) — notebook collaboration suite - [Jupyterhub](https://jupyter.org/hub) — notebook collaboration suite
@ -128,7 +130,6 @@ Most services are served over [tailscale](https://tailscale.com/), using certifi
- [Qbittorrent](https://www.qbittorrent.org) — torrent client - [Qbittorrent](https://www.qbittorrent.org) — torrent client
- [Radicale](https://radicale.org/v3.html) — calendar server - [Radicale](https://radicale.org/v3.html) — calendar server
- [Redlib](https://github.com/redlib-org/redlib) — alternate reddit client - [Redlib](https://github.com/redlib-org/redlib) — alternate reddit client
- [Smos](https://github.com/NorfairKing/smos) — a comprehensive self-management system.
- [Syncthing](https://syncthing.net/) — file synchronization - [Syncthing](https://syncthing.net/) — file synchronization
- [Vaultwarden](https://github.com/dani-garcia/vaultwarden/) — password manager - [Vaultwarden](https://github.com/dani-garcia/vaultwarden/) — password manager
- [Whoogle](https://github.com/benbusby/whoogle-search#manual-docker) — search engine - [Whoogle](https://github.com/benbusby/whoogle-search#manual-docker) — search engine
@ -137,6 +138,9 @@ Most services are served over [tailscale](https://tailscale.com/), using certifi
This section contains links to things which used to be in the previous section but are not used anymore. This section was created in June 2023, hence stuff I dropped earlier might not be here. Moreover, this list is sorted with the most recently dropped things at the top, as a sort of reverse-timeline. This section contains links to things which used to be in the previous section but are not used anymore. This section was created in June 2023, hence stuff I dropped earlier might not be here. Moreover, this list is sorted with the most recently dropped things at the top, as a sort of reverse-timeline.
- [Tmux](https://github.com/tmux/tmux/wiki) — I now simply use multiple WM windows / no longer persist sessions
- [Intray](https://github.com/NorfairKing/intray) — The server is no longer open source
- [Guacamole](https://guacamole.apache.org/) — I had little reason to keep this around on top of tailscale
- [htop](https://htop.dev/) — I switched to [bottom](https://github.com/ClementTsang/bottom), as the interface felt way cleaner - [htop](https://htop.dev/) — I switched to [bottom](https://github.com/ClementTsang/bottom), as the interface felt way cleaner
- [Wezterm](https://github.com/wez/wezterm) — I switched to [Foot](https://codeberg.org/dnkl/foot), as wezterm was laggy, unstable, and kept breaking between releases - [Wezterm](https://github.com/wez/wezterm) — I switched to [Foot](https://codeberg.org/dnkl/foot), as wezterm was laggy, unstable, and kept breaking between releases
- [Ranger](https://github.com/ranger/ranger) — I switched to [Yazi](https://github.com/sxyazi/yazi) - [Ranger](https://github.com/ranger/ranger) — I switched to [Yazi](https://github.com/sxyazi/yazi)

View file

@ -38,7 +38,6 @@ in
policies = { policies = {
DisableAppUpdate = true; DisableAppUpdate = true;
DisableBuiltinPDFViewer = true; DisableBuiltinPDFViewer = true;
DisableFirefoxAccounts = true;
DisableFirefoxStudies = true; DisableFirefoxStudies = true;
DisablePocket = true; DisablePocket = true;
DisableTelemetry = true; DisableTelemetry = true;
@ -307,6 +306,26 @@ in
# Disable shortcut for quitting :) # Disable shortcut for quitting :)
"browser.quitShortcut.disabled" = true; "browser.quitShortcut.disabled" = true;
# Keep the reader button enabled at all times; really don't
# care if it doesn't work 20% of the time, most websites are
# crap and unreadable without this
"reader.parse-on-load.force-enabled" = true;
# Hide the "sharing indicator", it's especially annoying
# with tiling WMs on wayland
"privacy.webrtc.legacyGlobalIndicator" = false;
# Hide random popup:
# https://forums.linuxmint.com/viewtopic.php?t=379164
"browser.protections_panel.infoMessage.seen" = true;
# Do not show dialog for getting panes in the addons menu (?)
# http://kb.mozillazine.org/Extensions.getAddons.showPane
"extensions.getAddons.showPane" = false;
# Do not recommend addons
"extensions.htmlaboutaddons.recommendations.enabled" = false;
# Inspired by https://github.com/TLATER/dotfiles/blob/b39af91fbd13d338559a05d69f56c5a97f8c905d/home-config/config/graphical-applications/firefox.nix # Inspired by https://github.com/TLATER/dotfiles/blob/b39af91fbd13d338559a05d69f56c5a97f8c905d/home-config/config/graphical-applications/firefox.nix
# {{{ Performance settings # {{{ Performance settings
"gfx.webrender.all" = true; # Force enable GPU acceleration "gfx.webrender.all" = true; # Force enable GPU acceleration
@ -335,25 +354,6 @@ in
"privacy.trackingprotection.socialtracking.enabled" = true; "privacy.trackingprotection.socialtracking.enabled" = true;
"browser.discovery.enabled" = false; "browser.discovery.enabled" = false;
# }}} # }}}
# Keep the reader button enabled at all times; really don't
# care if it doesn't work 20% of the time, most websites are
# crap and unreadable without this
"reader.parse-on-load.force-enabled" = true;
# Hide the "sharing indicator", it's especially annoying
# with tiling WMs on wayland
"privacy.webrtc.legacyGlobalIndicator" = false;
# Hide random popup: https://forums.linuxmint.com/viewtopic.php?t=379164
"browser.protections_panel.infoMessage.seen" = true;
# Do not show dialog for getting panes in the addons menu (?)
# http://kb.mozillazine.org/Extensions.getAddons.showPane
"extensions.getAddons.showPane" = false;
# Do not recommend addons
"extensions.htmlaboutaddons.recommendations.enabled" = false;
}; };
# }}} # }}}
}; };
@ -390,7 +390,7 @@ in
]; ];
}; };
# {{{ Make firefox the default # {{{ Make firefox the default browser
# Use firefox as the default browser to open stuff. # Use firefox as the default browser to open stuff.
xdg.mimeApps.defaultApplications = { xdg.mimeApps.defaultApplications = {
"text/html" = [ "firefox.desktop" ]; "text/html" = [ "firefox.desktop" ];