helm/modules/dev/clojure.nix

23 lines
392 B
Nix
Raw Permalink Normal View History

# modules/dev/clojure.nix --- https://clojure.org/
#
# I don't use clojure. Perhaps one day...
{ config, options, lib, pkgs, my, ... }:
2020-03-28 22:48:43 -07:00
with lib;
with lib.my;
let cfg = config.modules.dev.clojure;
in {
2020-03-28 22:48:43 -07:00
options.modules.dev.clojure = {
enable = mkBoolOpt false;
2020-03-28 22:48:43 -07:00
};
config = mkIf cfg.enable {
user.packages = with pkgs; [
2020-03-28 22:48:43 -07:00
clojure
joker
leiningen
];
};
2020-01-12 16:49:07 -08:00
}