helm/modules/dev/scala.nix
2020-03-29 01:55:14 -04:00

20 lines
294 B
Nix

{ 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
];
};
}