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

27 lines
376 B
Nix

{
x,
pkgs,
lib,
config,
...
}:
with lib;
with x;
let
cfg = config.module.programs.cli.rustmission;
in
{
options = {
module.programs.cli.rustmission = {
enable = mkBool;
};
};
config = mkIf cfg.enable {
home.packages = with pkgs; [ rustmission ];
xdg.configFile = {
"rustmission/config.toml".source = ./config.toml;
};
};
}