Compare commits

...

2 Commits

Author SHA1 Message Date
jolheiser 370ad1aa2f
feat: bennet
Signed-off-by: jolheiser <git@jolheiser.com>
2024-07-11 23:08:39 -05:00
jolheiser e7984efc49
feat: blog
Signed-off-by: jolheiser <git@jolheiser.com>
2024-07-11 22:24:41 -05:00
3 changed files with 65 additions and 1 deletions

View File

@ -23,6 +23,49 @@
"type": "github" "type": "github"
} }
}, },
"bennet": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1720757073,
"narHash": "sha256-URQMDzLPs5kckDybkMqrKZN2aqt0GvAt9V5NT4kpMW8=",
"ref": "refs/heads/main",
"rev": "bd7287aa0d13d5af400f659963655c004789715f",
"revCount": 4,
"type": "git",
"url": "https://git.jolheiser.com/bennet.git"
},
"original": {
"type": "git",
"url": "https://git.jolheiser.com/bennet.git"
}
},
"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 +500,8 @@
"root": { "root": {
"inputs": { "inputs": {
"agenix": "agenix", "agenix": "agenix",
"bennet": "bennet",
"blog": "blog",
"cfg": "cfg", "cfg": "cfg",
"dagger": "dagger", "dagger": "dagger",
"flake-utils": "flake-utils", "flake-utils": "flake-utils",

View File

@ -43,6 +43,17 @@
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";
};
};
bennet = {
url = "git+https://git.jolheiser.com/bennet.git";
inputs.nixpkgs.follows = "nixpkgs";
};
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 +136,8 @@
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;
bennet = inputs.bennet.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

@ -19,7 +19,7 @@ in {
}} }}
} }
handle_path /bennet* { handle_path /bennet* {
root * /srv/bennet/src root * ${pkgs.jolheiser.bennet}
file_server file_server
} }
handle /resume* { handle /resume* {
@ -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