]> gitweb.ps.run Git - l21s-case-study/commitdiff
add shell.nix
authorpatrick-scho <patrick.schoenberger@posteo.de>
Sun, 23 Nov 2025 23:21:20 +0000 (23:21 +0000)
committerpatrick-scho <patrick.schoenberger@posteo.de>
Sun, 23 Nov 2025 23:21:20 +0000 (23:21 +0000)
shell.nix [new file with mode: 0644]

diff --git a/shell.nix b/shell.nix
new file mode 100644 (file)
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
+  '';
+
+}