Commit 4caf1a2

HPCesia <me@hpcesia.com>
2025-08-03 08:33:01
feat: update chromium config
1 parent 68b2ffc
Changed files (1)
home
linux
home/linux/gui/misc.nix
@@ -20,8 +20,6 @@
   qq = pkgs.qq.override chromiumCLA;
 in {
   home.packages = with pkgs; [
-    chromium
-
     # Message
     telegram-desktop
     qq
@@ -34,6 +32,16 @@ in {
     pot
   ];
 
+  programs.chromium = {
+    enable = true;
+    package = chromium;
+    nativeMessagingHosts = [pkgs.kdePackages.plasma-browser-integration];
+    extensions = [
+      {id = "cimiefiiaegbelhefglklhhakcgmhkai";} # Plasma Integration
+      # {id = "bpoadfkcbjbfhfodiogcnhhhpibjhbnh";} # Immersive Translate
+    ];
+  };
+
   # allow fontconfig to discover fonts and configurations installed through home.packages
   # Install fonts at system-level, not user-level
   fonts.fontconfig.enable = false;