Add C/C++ and Scala environments

This commit is contained in:
2023-01-07 19:07:44 +00:00
parent e1b8e670c9
commit 08f527f90c
7 changed files with 75 additions and 0 deletions

16
modules/dev/shell.nix Normal file
View File

@ -0,0 +1,16 @@
{ config, lib, pkgs, ... }:
with lib;
with lib.my;
let cfg = config.modules.dev.shell;
in {
options.modules.dev.shell = {
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {
user.packages = with pkgs; [
shellcheck
];
};
}