1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-09 10:43:53 +00:00
ultima/modules/home/programs/custom/rustmission/default.nix
2024-12-03 23:20:37 +09:00

17 lines
353 B
Nix

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