blog: Zola site, nginx image, Forgejo deploy pipeline
This commit is contained in:
commit
a4b677f898
23 changed files with 561 additions and 0 deletions
25
flake.nix
Normal file
25
flake.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
description = "blog.asxp.io — static blog (Zola)";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
buildInputs = [
|
||||
pkgs.zola
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
echo "blog dev shell ready"
|
||||
echo " zola serve - live-reload preview on http://127.0.0.1:1111"
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue