From 53c2c51a6f30a7f3c80feae2409a6afbe3262e69 Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Tue, 1 Oct 2024 17:28:28 +0300 Subject: [PATCH] feat: website updates --- flake.lock | 4 ++-- hosts/wolumonde/modules/blog.nix | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index f65732b..b8eb430 100644 --- a/flake.lock +++ b/flake.lock @@ -100,8 +100,8 @@ "systems": "systems_2" }, "locked": { - "lastModified": 1727382403, - "narHash": "sha256-ewGsUhNxIYv0g/a9GGa3cMlKXGgsSK14xgnr9JoT1zs=", + "lastModified": 1727748493, + "narHash": "sha256-62wWRIw12TR9DNFi2a9L23TEO8dOvr4mhr3lfpfXVpo=", "type": "tarball", "url": "https://git.gaze.systems/gazesys/website/releases/download/latest/source.tgz" }, diff --git a/hosts/wolumonde/modules/blog.nix b/hosts/wolumonde/modules/blog.nix index 9be581b..472a403 100644 --- a/hosts/wolumonde/modules/blog.nix +++ b/hosts/wolumonde/modules/blog.nix @@ -7,7 +7,6 @@ PUBLIC_BASE_URL = "https://gaze.systems"; pkg = inputs.blog.packages.${pkgs.system}.default.overrideAttrs (old: { inherit PUBLIC_BASE_URL; - GUESTBOOK_BASE_URL = "http://localhost:8080"; }); port = 3003; in { @@ -25,6 +24,8 @@ in { HOME = "/var/lib/website"; ORIGIN = PUBLIC_BASE_URL; PORT = toString port; + GUESTBOOK_BASE_URL = "http://localhost:8080"; + WEBSITE_DATA_DIR = "/var/lib/website"; }; serviceConfig = { User = "website";