{ description = "adbjesus.com website"; inputs = { nixpkgs = { url = "github:nixos/nixpkgs/nixos-24.05"; }; }; outputs = { self, nixpkgs }: let systems = [ "x86_64-linux" ]; in rec { packages = nixpkgs.lib.genAttrs systems (system: { adbjesus_dot_com = nixpkgs.legacyPackages.${system}.stdenv.mkDerivation { name = "adbjesus.com"; src = ./.; buildInputs = with nixpkgs.legacyPackages.${system}; [ zola ]; buildPhase = '' zola build ''; installPhase = '' mkdir -p $out cp -Tr public $out/public ''; }; default = self.packages.${system}.adbjesus_dot_com; }); devShells = nixpkgs.lib.genAttrs systems (system: { default = nixpkgs.legacyPackages.${system}.mkShell { inputsFrom = [ self.packages.${system}.adbjesus_dot_com ]; }; }); }; }