{ x, pkgs, lib, config, ... }: with lib; with x; let cfg = config.module.programs.cli.rmpc; in { options = { module.programs.cli.rmpc = { enable = mkBool; }; }; config = mkIf cfg.enable { home.packages = with pkgs; [ rmpc ]; xdg.configFile = { "rmpc/config.ron".source = ./config.ron; # "rmpc/themes/base16.ron".source = ./theme.ron; }; }; }