{ inputs, config, pkgs, lib, ... }: let cfg = config.ctucxConfig.programs; in { options = { ctucxConfig.programs = { fractal.enable = lib.mkEnableOption "fractal matrix-client"; tuba.enable = lib.mkEnableOption "tuba fediverse client"; paper-plane.enable = lib.mkEnableOption "paper-plane telegram client"; }; }; config = { home-manager.users.katja = { home.packages = [ (lib.mkIf cfg.fractal.enable pkgs.fractal) (lib.mkIf cfg.tuba.enable pkgs.tuba) (lib.mkIf cfg.paper-plane.enable pkgs.paper-plane) ]; dconf.settings = with inputs.home-manager.lib.hm.gvariant; { "dev/geopjr/Tuba" = lib.mkIf cfg.tuba.enable { work-in-background = true; dim-trivial-notifications = true; group-push-notifications = true; reply-to-old-post-reminder = false; show-spoilers = true; }; }; }; }; }