oizys/modules/langs/misc.nix
2024-01-23 19:13:42 -06:00

17 lines
288 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
];
};
}