commit f02411282f0e921fceddef75d03d0d879c8607c6 parent 09dace2d5bb1786dc2554e26c854072d7da54805 Author: Vincent Demeester <vincent@sbr.pm> Date: Fri, 10 Apr 2020 19:20:06 +0200 Add dev.lisp.nix 👼 Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
A | modules/profiles/dev.lisp.nix | | | 19 | +++++++++++++++++++ |
1 file changed, 19 insertions(+), 0 deletions(-)
diff --git a/modules/profiles/dev.lisp.nix b/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 + ]; + }; +}