summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authoralex <[email protected]>2026-11-10 20:54:44 +0100
committeralex <[email protected]>2026-11-10 20:54:44 +0100
commit5bdac896f505b850142682a12e3f5961f775efb7 (patch)
tree766ded4a9dd6b1e84339432cfcaa3862c13c4984 /flake.nix
downloadwheel-of-names-clone.git-5bdac896f505b850142682a12e3f5961f775efb7.tar.xz
wheel-of-names-clone.git-5bdac896f505b850142682a12e3f5961f775efb7.zip
init
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..ccd724d
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,30 @@
+{
+ description = "Development environment for node";
+
+ 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 = nixpkgs.legacyPackages.${system};
+ in
+ {
+ devShells.default = pkgs.mkShell {
+ packages = with pkgs; [
+ nodejs_22 corepack
+ ];
+
+ env = {
+
+ };
+
+ shellHook = ''
+ echo "🚀 Entering node dev environment"
+ '';
+ };
+ }
+ );
+}