all repos — site @ ad07fa5f68046bdc68024afb989cf9574b5a2ae8

source for my site, found at icyphox.sh

flake.nix (view raw)

 1{
 2  description = "site";
 3
 4  inputs = {
 5    vite.url = "github:icyphox/go-vite";
 6    flake-utils.url = "github:numtide/flake-utils";
 7  };
 8
 9  outputs = { self, nixpkgs, flake-utils, vite }:
10    flake-utils.lib.eachDefaultSystem
11      (system:
12        let
13          pkgs = nixpkgs.legacyPackages.${system};
14        in
15        {
16          devShell = pkgs.mkShell {
17            buildInputs = [
18              vite.packages.${system}.default
19              pkgs.go
20              pkgs.gotools
21              pkgs.gnumake
22              pkgs.entr
23            ];
24          };
25        }
26      );
27
28}