From a43429841ae67b7bb73f87349888eb4645c5d92e Mon Sep 17 00:00:00 2001 From: David Morgan Date: Sat, 10 Sep 2022 15:51:06 +0100 Subject: Add some nix home configuration --- nixconf/clojure.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 nixconf/clojure.nix (limited to 'nixconf/clojure.nix') diff --git a/nixconf/clojure.nix b/nixconf/clojure.nix new file mode 100644 index 0000000..3681e8b --- /dev/null +++ b/nixconf/clojure.nix @@ -0,0 +1,18 @@ +{ config, pkgs, lib, isDarwin, isLinux, ... }: +let + inherit (lib) optionals; +in +{ + home.packages = with pkgs; [ + babashka + clj-kondo + clojure + clojure-lsp + jet + maven + neil + ] + ++ optionals stdenv.isDarwin [ (leiningen.override { jdk = jdk8; }) ] + ++ optionals stdenv.isLinux [ leiningen ]; +} + -- cgit 1.4.1-2-gfad0