An API for my personal portfolio
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

nix: setup env

+102
+4
.gitignore
··· 1 + node_modules/ 2 + .direnv/ 3 + .env* 4 + bun.lock
+61
flake.lock
··· 1 + { 2 + "nodes": { 3 + "flake-utils": { 4 + "inputs": { 5 + "systems": "systems" 6 + }, 7 + "locked": { 8 + "lastModified": 1731533236, 9 + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", 10 + "owner": "numtide", 11 + "repo": "flake-utils", 12 + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", 13 + "type": "github" 14 + }, 15 + "original": { 16 + "owner": "numtide", 17 + "repo": "flake-utils", 18 + "type": "github" 19 + } 20 + }, 21 + "nixpkgs": { 22 + "locked": { 23 + "lastModified": 1776278260, 24 + "narHash": "sha256-zdx5No71GtYLVaVWh/eis1YiUj6bKQGTqPWDrJfoSn4=", 25 + "owner": "nixos", 26 + "repo": "nixpkgs", 27 + "rev": "49d6fd4fd59eab9e9f9feb58475cd653a4e97b60", 28 + "type": "github" 29 + }, 30 + "original": { 31 + "owner": "nixos", 32 + "ref": "release-25.11", 33 + "repo": "nixpkgs", 34 + "type": "github" 35 + } 36 + }, 37 + "root": { 38 + "inputs": { 39 + "flake-utils": "flake-utils", 40 + "nixpkgs": "nixpkgs" 41 + } 42 + }, 43 + "systems": { 44 + "locked": { 45 + "lastModified": 1681028828, 46 + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 47 + "owner": "nix-systems", 48 + "repo": "default", 49 + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 50 + "type": "github" 51 + }, 52 + "original": { 53 + "owner": "nix-systems", 54 + "repo": "default", 55 + "type": "github" 56 + } 57 + } 58 + }, 59 + "root": "root", 60 + "version": 7 61 + }
+23
flake.nix
··· 1 + { 2 + description = "api.matthew-hre.com"; 3 + 4 + inputs = { 5 + nixpkgs.url = "github:nixos/nixpkgs/release-25.11"; 6 + flake-utils.url = "github:numtide/flake-utils"; 7 + }; 8 + 9 + outputs = { 10 + self, 11 + flake-utils, 12 + nixpkgs, 13 + ... 14 + }: 15 + flake-utils.lib.eachDefaultSystem ( 16 + system: let 17 + pkgs = import nixpkgs {inherit system;}; 18 + in { 19 + devShell = pkgs.callPackage ./nix/devShell.nix {}; 20 + formatter = pkgs.alejandra; 21 + } 22 + ); 23 + }
+14
nix/devShell.nix
··· 1 + { 2 + mkShell, 3 + alejandra, 4 + bun, 5 + }: 6 + mkShell { 7 + name = "api.matthew-hre.com"; 8 + 9 + packages = [ 10 + bun 11 + 12 + alejandra 13 + ]; 14 + }