1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-09 21:23:52 +00:00
ultima/modules/home/programs/custom/rustmission/default.nix

17 lines
353 B
Nix
Raw Normal View History

2024-12-03 14:20:37 +00:00
{ pkgs, lib, config, ... }:
with lib;
let cfg = config.module.programs.custom.rustmission;
in {
options = {
module.programs.custom.rustmission = { enable = mkEnableOption ""; };
};
config = mkIf cfg.enable {
home.packages = with pkgs; [ rustmission ];
xdg.configFile = { "rustmission/config.toml".source = ./config.toml; };
};
}