{ lib, pkgs, config, ...}: let inherit (lib) mkIf mkEnableOption mkOption; cfg = config.chuj.stuff.other-desktop-programs; user = config.chuj.system.user; in { options.chuj.stuff.other-desktop-programs = { enable = mkEnableOption "other-desktop-programs"; }; config = mkIf cfg.enable { home-manager.users.${user}.home.packages = with pkgs; [ pavucontrol # element-desktop schildichat-desktop discord libreoffice-qt gimp vlc qimgv ]; }; }