old
 1{
 2  pkgs,
 3  pkgs-unstable,
 4  lib,
 5  ...
 6}: let
 7  inherit (lib.lists) concatLists;
 8
 9  chromiumCLA = concatLists [
10    ["--ozone-platform-hint=auto"]
11    ["--enable-wayland-ime"]
12    ["--wayland-text-input-version=3"]
13  ];
14
15  # Fix Chromium IME bug
16  cherrystudio = pkgs-unstable.cherry-studio.override {commandLineArgs = chromiumCLA;};
17  chromium = pkgs.chromium.override {commandLineArgs = chromiumCLA ++ ["-disable-features=GlobalShortcutsPortal"];};
18  qq = pkgs.qq.override {commandLineArgs = chromiumCLA;};
19in {
20  home.packages = with pkgs; [
21    # Message
22    telegram-desktop
23    qq
24    wechat
25
26    # Misc
27    cherrystudio
28    obs-studio
29    gimp3
30    # pot # Disabled until pot update their tauri
31    libreoffice-qt6
32    blender
33  ];
34
35  programs.chromium = {
36    enable = true;
37    package = chromium;
38    nativeMessagingHosts = [pkgs.kdePackages.plasma-browser-integration];
39    extensions = [
40      {id = "cimiefiiaegbelhefglklhhakcgmhkai";} # Plasma Integration
41      # {id = "bpoadfkcbjbfhfodiogcnhhhpibjhbnh";} # Immersive Translate
42    ];
43  };
44
45  # Fix pcsc conflict
46  # https://github.com/LudovicRousseau/PCSC/issues/65
47  programs.gpg.scdaemonSettings.disable-ccid = true;
48
49  # allow fontconfig to discover fonts and configurations installed through home.packages
50  # Install fonts at system-level, not user-level
51  fonts.fontconfig.enable = false;
52}