treesummaryrefslogcommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..691e93a
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,19 @@
+{ pkgs ? import <nixpkgs> {} }:
+
+pkgs.mkShell {
+
+ buildInputs = [
+ pkgs.postgresql
+ pkgs.postgresql_jdbc
+ pkgs.zulu
+ ];
+
+ shellHook = ''
+ ${pkgs.tmux}/bin/tmux \
+ new -d nvim src/ \; \
+ split -d -h \; \
+ neww -d ./db_start.sh \; \
+ a
+ '';
+
+}