feat: blog

Signed-off-by: jolheiser <git@jolheiser.com>
homepage
jolheiser 2024-07-11 22:24:41 -05:00
parent 7596a2851e
commit e7984efc49
No known key found for this signature in database
3 changed files with 38 additions and 0 deletions

View File

@ -23,6 +23,29 @@
"type": "github"
}
},
"blog": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"templ": [
"templ"
]
},
"locked": {
"lastModified": 1720561582,
"narHash": "sha256-5Gb9GwPgOfXOOp48eKcn3kmqa8+jFZDVzzzzMT+J3/Y=",
"ref": "refs/heads/main",
"rev": "3803d94c98e58577f9794073bc44d126123fb303",
"revCount": 24,
"type": "git",
"url": "https://git.jolheiser.com/blog.git"
},
"original": {
"type": "git",
"url": "https://git.jolheiser.com/blog.git"
}
},
"cfg": {
"inputs": {
"nixpkgs": [
@ -457,6 +480,7 @@
"root": {
"inputs": {
"agenix": "agenix",
"blog": "blog",
"cfg": "cfg",
"dagger": "dagger",
"flake-utils": "flake-utils",

View File

@ -43,6 +43,13 @@
flake-utils.follows = "flake-utils";
};
};
blog = {
url = "git+https://git.jolheiser.com/blog.git";
inputs = {
nixpkgs.follows = "nixpkgs";
templ.follows = "templ";
};
};
git-age = {
url = "git+https://git.jolheiser.com/git-age.git";
inputs = {
@ -125,6 +132,7 @@
tmpl = inputs.tmpl.packages.${prev.system}.default;
gomodinit = inputs.gomodinit.packages.${prev.system}.default;
cfg = inputs.cfg.packages.${prev.system}.default;
blog = inputs.blog.packages.${prev.system}.default;
};
tclip = inputs.tclip.packages.${prev.system}.tclip;
templ = inputs.templ.packages.${prev.system}.templ;

View File

@ -34,6 +34,12 @@ in {
'';
serverAliases = ["www.jolheiser.com"];
};
"blog.jolheiser.com" = {
extraConfig = ''
root * ${pkgs.jolheiser.blog}
file_server
'';
};
"go.jolheiser.com" = {
extraConfig = ''
header Content-Type text/html