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