summaryrefslogtreecommitdiffstats
path: root/lib/devShell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lib/devShell.nix')
-rw-r--r--lib/devShell.nix12
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/devShell.nix b/lib/devShell.nix
index 617210a..185907b 100644
--- a/lib/devShell.nix
+++ b/lib/devShell.nix
@@ -1,9 +1,15 @@
{ config, lib, pkgs, ... }:
{
options = {
- devShell.packages = lib.mkOption {
- type = lib.types.listOf lib.types.package;
- default = [ pkgs.npins ];
+ devShell = {
+ packages = lib.mkOption {
+ type = lib.types.listOf lib.types.package;
+ default = [ pkgs.npins ];
+ };
+ shellHook = lib.mkOption {
+ type = lib.types.str;
+ default = "";
+ };
};
outputs.devShell = lib.mkOption {
type = lib.types.package;