adityakumar.xyz/flake.nix

21 lines
524 B
Nix
Raw Normal View History

2023-06-11 10:23:11 +00:00
{
description = "A flake for publishing blog posts to https://blog.adityakumar.xyz/";
inputs.nixpkgs.url = "github:nixos/nixpkgs/23.05";
outputs = { self, nixpkgs }: {
packages.x86_64-linux.default = with import nixpkgs { system = "x86_64-linux"; };
stdenv.mkDerivation {
2023-07-06 05:34:24 +00:00
name = "adityakumar.xyz";
2023-06-11 10:23:11 +00:00
buildInputs = [
pkgs.hugo
pkgs.rsync
pkgs.nodejs
];
src = self;
buildPhase = "hugo server";
installPhase = "./deploy.sh";
};
};
}