data endpoint for entity 90008 (aka. a website)
1{ 2 inputs.parts.url = "github:hercules-ci/flake-parts"; 3 inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; 4 inputs.naked-shell.url = "github:90-008/mk-naked-shell"; 5 6 outputs = inp: 7 inp.parts.lib.mkFlake {inputs = inp;} { 8 systems = ["x86_64-linux"]; 9 imports = [ 10 inp.naked-shell.flakeModule 11 ]; 12 perSystem = { 13 config, 14 system, 15 ... 16 }: let 17 pkgs = inp.nixpkgs.legacyPackages.${system}; 18 in { 19 devShells.default = config.mk-naked-shell.lib.mkNakedShell { 20 name = "gazesys-devshell"; 21 packages = with pkgs; [ 22 nodejs-slim_latest bun 23 nodePackages.svelte-language-server 24 nodePackages.typescript-language-server 25 ]; 26 shellHook = '' 27 export PATH="$PATH:$PWD/node_modules/.bin" 28 ''; 29 }; 30 packages.gazesys-modules = pkgs.callPackage ./nix/modules.nix {}; 31 packages.gazesys = pkgs.callPackage ./nix { 32 inherit (config.packages) gazesys-modules; 33 }; 34 packages.default = config.packages.gazesys; 35 }; 36 }; 37}