atproto pastebin service: https://plonk.li
1{ 2 inputs = { 3 nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; 4 }; 5 6 outputs = { 7 self, 8 nixpkgs, 9 }: let 10 supportedSystems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin"]; 11 forAllSystems = nixpkgs.lib.genAttrs supportedSystems; 12 nixpkgsFor = forAllSystems (system: 13 import nixpkgs { inherit system; }); 14 in { 15 16 devShell = forAllSystems (system: let 17 pkgs = nixpkgsFor."${system}"; 18 in 19 pkgs.mkShell { 20 nativeBuildInputs = [ 21 pkgs.nodejs 22 pkgs.biome 23 pkgs.typescript 24 pkgs.nodePackages.typescript-language-server 25 ]; 26 }); 27 28 formatter = forAllSystems (system: nixpkgsFor."${system}".alejandra); 29 }; 30}