feat: blog

Signed-off-by: jolheiser <git@jolheiser.com>
main
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" "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": { "cfg": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -457,6 +480,7 @@
"root": { "root": {
"inputs": { "inputs": {
"agenix": "agenix", "agenix": "agenix",
"blog": "blog",
"cfg": "cfg", "cfg": "cfg",
"dagger": "dagger", "dagger": "dagger",
"flake-utils": "flake-utils", "flake-utils": "flake-utils",

View File

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

View File

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