commit 0815e55e87d7a67c6896c457821875bdefce4ef0 Author: kolaente Date: Fri Dec 2 16:45:30 2022 +0100 feat: add flake diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..9d9c392 --- /dev/null +++ b/flake.lock @@ -0,0 +1,25 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1667292599, + "narHash": "sha256-7ISOUI1aj6UKMPIL+wwthENL22L3+A9V+jS8Is3QsRo=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "ef2f213d9659a274985778bff4ca322f3ef3ac68", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "type": "indirect" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..1947877 --- /dev/null +++ b/flake.nix @@ -0,0 +1,10 @@ +{ + description = "dev environment"; + + outputs = { self, nixpkgs }: + let pkgs = nixpkgs.legacyPackages.x86_64-linux; + in { + defaultPackage.x86_64-linux = + pkgs.mkShell { buildInputs = [ pkgs.nodePackages.pnpm ]; }; + }; +}