Home

dotnix @main - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
tree log patch
feat: blog Signed-off-by: jolheiser <git@jolheiser.com>
Signature
-----BEGIN SSH SIGNATURE----- U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgBTEvCQk6VqUAdN2RuH6bj1dNkY oOpbPWj+jw4ua1B1cAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5 AAAAQJIqDOryZMfl7flMEj37RAWpIluJXlMrSJaX1RKJgWeJnQbB1oTw0oLSsxze54yiZR iE2g3hu5O15ZBwfEkhOws= -----END SSH SIGNATURE-----
jolheiser <git@jolheiser.com>
5 months ago
3 changed files, 39 additions(+), 0 deletions(-)
M flake.lock -> flake.lock
diff --git a/flake.lock b/flake.lock
index 6a32e3c5f1862956cd44982ec6603a774e36a210..33e608ab5c7163a83aad6c389feb85d3d883422d 100644
--- a/flake.lock
+++ b/flake.lock
@@ -24,6 +24,30 @@         "type": "github"
       }
     },
   "nodes": {
+        "rev": "f393c786b0ad826866d7e30d1abbd3bea319cb34",
+      "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"
+      }
+    },
+  "nodes": {
   "nodes": {
       "inputs": {
         "nixpkgs": [
@@ -458,6 +482,7 @@     },
     "root": {
       "inputs": {
         "agenix": "agenix",
+        "blog": "blog",
         "cfg": "cfg",
         "dagger": "dagger",
         "flake-utils": "flake-utils",
M flake.nix -> flake.nix
diff --git a/flake.nix b/flake.nix
index 9841309a1b053fcae258268b26ac733b513ba397..e9d37821dc3b1f352bd5eaf8949858e8e437b2da 100644
--- a/flake.nix
+++ b/flake.nix
@@ -43,6 +43,13 @@         nixpkgs.follows = "nixpkgs";
         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 @@           gist = inputs.gist.packages.${prev.system}.default;
           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;
M machines/dragonwell/caddy.nix -> machines/dragonwell/caddy.nix
diff --git a/machines/dragonwell/caddy.nix b/machines/dragonwell/caddy.nix
index 768c75de496fecad7af7fcca4b585c954e1ca049..a91d0d6e3682a9bb7957c91de56ab0f8171f2dcb 100644
--- a/machines/dragonwell/caddy.nix
+++ b/machines/dragonwell/caddy.nix
@@ -34,6 +34,12 @@           }
         '';
         serverAliases = ["www.jolheiser.com"];
       };
+      "blog.jolheiser.com" = {
+        extraConfig = ''
+          root * ${pkgs.jolheiser.blog}
+          file_server
+        '';
+      };
       "go.jolheiser.com" = {
         extraConfig = ''
           header Content-Type text/html