mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-09 21:23:52 +00:00
17 lines
353 B
Nix
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; };
|
||
|
};
|
||
|
}
|
||
|
|