blob: b59edb8539c084563f43eea9307798011a82ae6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{
description = "A flake for publishing blog posts to https://blog.adityakumar.xyz/";
inputs.nixpkgs.url = "github:nixos/nixpkgs/23.05";
outputs = { self, nixpkgs }: {
with import nixpkgs { system = "x86_64-linux"; };
stdenv.mkDerivation {
name = "blog";
buildInputs = [
pkgs.hugo
pkgs.rsync
];
src = self;
buildPhase = "hugo server";
installPhase = "./deploy.sh"
};
};
}
|