1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-09 09:43:53 +00:00
ultima/modules/home/programs/cli/rmpc/default.nix
2024-11-21 18:24:15 +09:00

18 lines
376 B
Nix

{ 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;
};
};
}