1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-10 16:23:53 +00:00
ultima/modules/home/programs/cli/rustmission/default.nix
2024-12-09 10:15:55 +09:00

15 lines
340 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; };
};
}