oizys/modules/langs/misc.nix
2024-01-23 15:50:42 -06:00

15 lines
267 B
Nix

{config, lib,pkgs,...}:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.languages.misc;
in
{
options.languages.misc.enable = mkEnableOption "go + rustup";
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
go
rustup
];
};
}