Commit f02411282f0e

Vincent Demeester <vincent@sbr.pm>
2020-04-10 19:20:06
Add dev.lisp.nix 👼
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 09dace2
Changed files (1)
modules
modules/profiles/dev.lisp.nix
@@ -0,0 +1,19 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+let
+  cfg = config.profiles.dev.lisp;
+in
+{
+  options = {
+    profiles.dev.lisp = {
+      enable = mkEnableOption "Enable lisp development profile";
+    };
+  };
+  config = mkIf cfg.enable {
+    home-packages = with pkgs; [
+      sbcl
+      asdf
+    ];
+  };
+}