1
1
Fork 0
nixos/options/custom/programs/chromium.nix
Myned 53c8575116
git: migrate to forgejo
Squashes 1,331 commits

Signed-off-by: Myned <dev@bjork.tech>
2024-09-12 19:41:21 -05:00

35 lines
1.1 KiB
Nix

{ config, lib, ... }:
with lib;
let
cfg = config.custom.programs.chromium;
in
{
options.custom.programs.chromium.enable = mkOption { default = false; };
config.home-manager.users.${config.custom.username} = mkIf cfg.enable {
# https://wiki.nixos.org/wiki/Chromium
# https://www.chromium.org/chromium-projects
programs.chromium = {
enable = true;
commandLineArgs = [
"--enable-features=OverlayScrollbar,ChromeRefresh2023,TabGroupsSave,TouchpadOverscrollHistoryNavigation"
];
extensions = [
#"ajopnjidmegmdimjlfnijceegpefgped" # BetterTTV
#"nngceckbapebfimnlniiiahkandclblb" # Bitwarden
#"enamippconapkdmgfgjchkhakpfinmaj" # DeArrow
#"fnaicdffflnofjppbagibeoednhnbjhg" # floccus
#"bnomihfieiccainjcjblhegjgglakjdd" # Improve YouTube
#"mnjggcdmjocbbbhaepdhchncahnbgone" # SponsorBlock
#"clngdbkpkpeebahjckkjfobafhncgmne" # Stylus
#"kfidecgcdjjfpeckbblhmfkhmlgecoff" # Svelte DevTools
#"nplimhmoanghlebhdiboeellhgmgommi" # Tab Groups Extension
"ddkjiahejlhfcafbddmgiahcphecmpfh" # uBlock Origin Lite
];
};
};
}