From d5a332b72e7756da9b8fd44999b1e2afaba96cdb Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Tue, 26 Nov 2024 12:00:10 +0800 Subject: [PATCH] users/foo-dogsquared/setups/development: add Google Chrome dev --- .../modules/setups/development.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/configs/home-manager/foo-dogsquared/modules/setups/development.nix b/configs/home-manager/foo-dogsquared/modules/setups/development.nix index 270f8a11..75a46e5c 100644 --- a/configs/home-manager/foo-dogsquared/modules/setups/development.nix +++ b/configs/home-manager/foo-dogsquared/modules/setups/development.nix @@ -57,6 +57,22 @@ in { ]; } + (lib.mkIf userCfg.programs.google-chrome.enable { + programs.google-chrome-dev.enable = true; + + programs.google-chrome-dev.commandLineArgs = [ + "--no-default-browser-check" + "--use-system-default-printer" + ]; + + programs.google-chrome-dev.extensions = [ + { id = "dbepggeogbaibhgnhhndojpepiihcmeb"; } # Vimium + { id = "aapbdbdomjkkjkaonfhkkikfgjllcleb"; } # Google Translate + { id = "fpnmgdkabkmnadcjpehmlllkndpkmiak"; } # Wayback Machine + { id = "nngceckbapebfimnlniiiahkandclblb"; } # Bitwarden + ]; + }) + (lib.mkIf (!userCfg.programs.nixvim.enable) { programs.neovim = { enable = true;