Add Nix dev shell and Docker compose restart policy

This commit is contained in:
ulve
2026-07-08 23:26:42 +02:00
parent 2c97aa70dc
commit eac86c4f1a
5 changed files with 89 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
{
description = "TypeScript dev shell";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in {
devShells.default = pkgs.mkShell {
packages = with pkgs; [
nodejs
vtsls
prettierd
eslint_d
fixjson
# add project-specific packages below
];
};
});
}