1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-10 09:33:52 +00:00
ultima/modules/home/programs/cli/rmpc/default.nix

18 lines
376 B
Nix
Raw Normal View History

2024-11-21 09:24:15 +00:00
{ pkgs, lib, config, ... }:
with lib;
let cfg = config.module.programs.cli.rmpc;
in {
options = { module.programs.cli.rmpc = { enable = mkEnableOption ""; }; };
config = mkIf cfg.enable {
home.packages = with pkgs; [ rmpc ];
xdg.configFile = {
"rmpc/config.ron".source = ./config.ron;
# "rmpc/themes/base16.ron".source = ./theme.ron;
};
};
}