helm/modules/dev/scala.nix

20 lines
294 B
Nix
Raw Normal View History

2020-03-28 22:48:43 -07:00
{ config, options, lib, pkgs, ... }:
with lib;
{
options.modules.dev.scala = {
enable = mkOption {
type = types.bool;
default = false;
};
};
config = mkIf config.modules.dev.scala.enable {
my.packages = with pkgs; [
scala
jdk
sbt
];
};
}