This commit is contained in:
ryfrd 2026-03-18 20:48:35 +00:00
parent 44c8324063
commit 3f6f6d9a5f
5 changed files with 0 additions and 82 deletions

View file

@ -1,16 +0,0 @@
### content
where the markdown goes
### public
where the built html etc. goes
this is what you serve
### static
images
### themes
where the themes go, these define what kind of a website hugo spits out

27
flake.lock generated
View file

@ -1,27 +0,0 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1767313136,
"narHash": "sha256-16KkgfdYqjaeRGBaYsNrhPRRENs0qzkQVUooNHtoy2w=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ac62194c3917d5f474c1a844b6fd6da2db95077d",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

View file

@ -1,16 +0,0 @@
{
description = "My blog";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
};
outputs =
{ self, nixpkgs }:
let
pkgs = import nixpkgs { system = "x86_64-linux"; };
in
{
packages.x86_64-linux.default = pkgs.callPackage ./hub.nix { };
};
}

22
hub.nix
View file

@ -1,22 +0,0 @@
{
lib,
stdenv,
hugo,
}:
stdenv.mkDerivation {
pname = "blog";
version = "0.1.0";
src = lib.cleanSource ./.;
buildInputs = [ hugo ];
buildPhase = ''
hugo --minify
'';
installPhase = ''
mkdir -p $out
cp -r public/* $out/
'';
}

1
result
View file

@ -1 +0,0 @@
/nix/store/68a55g2b98jlbf653a1z1d3piqj4wgzb-blog-0.1.0