nix-configs

Personal NixOS and home-manager configuration files
Log | Files | Refs

commit 96a8d705d8bf9d4b15f05966ef059e0261872d7c
parent 1048e2eea913349d858d7c9f190c86aa49d37f09
Author: breadcat <breadcat@users.noreply.github.com>
Date:   Sat, 16 May 2026 18:13:26 +0100

Initial chromium config

Diffstat:
Ahome/chromium.nix | 35+++++++++++++++++++++++++++++++++++
Mmachines/atlas.nix | 2+-
2 files changed, 36 insertions(+), 1 deletion(-)

diff --git a/home/chromium.nix b/home/chromium.nix @@ -0,0 +1,35 @@ +{ config, pkgs, ... }: + +{ + programs.chromium = { + enable = true; + # package = pkgs.ungoogled-chromium; + + dictionaries = [ pkgs.hunspellDictsChromium.en_GB ]; + + extensions = [ + { id = "nngceckbapebfimnlniiiahkandclblb"; } # bitwarden + { id = "lfjnnkckddkopjfgmbcpdiolnmfobflj"; } # custom new tab + { id = "ddkjiahejlhfcafbddmgiahcphecmpfh"; } # ublock origin lite + ]; + + commandLineArgs = [ + "--homepage=https://breadcat.github.io/startpage/" + "--force-dark-mode" + "--no-default-browser-check" + "--enable-feature=WebUIDarkMode" + "--disable-features=Translate" + ]; + }; + + home.sessionVariables = { + BROWSER = "chromium"; + }; + + xdg.mimeApps.defaultApplications = { + "text/html" = ["chromium.desktop"]; + "text/xml" = ["chromium.desktop"]; + "x-scheme-handler/http" = ["chromium.desktop"]; + "x-scheme-handler/https" = ["chromium.desktop"]; + }; +} diff --git a/machines/atlas.nix b/machines/atlas.nix @@ -52,7 +52,7 @@ let machine = "atlas"; in { ../home/mpv.nix ../home/neovim.nix ../home/newsboat.nix - ../home/qutebrowser.nix + ../home/chromium.nix ../home/rbw.nix ../home/rclone.nix ../home/ssh.nix