20 lines
294 B
Nix
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
|
||
|
];
|
||
|
};
|
||
|
}
|