mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-09 14:13:52 +00:00
18 lines
375 B
Nix
18 lines
375 B
Nix
{ 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;
|
|
};
|
|
};
|
|
}
|
|
|