feat: website updates

This commit is contained in:
dusk 2024-10-01 17:28:28 +03:00
parent e49b560d6b
commit 53c2c51a6f
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw
2 changed files with 4 additions and 3 deletions

View File

@ -100,8 +100,8 @@
"systems": "systems_2" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1727382403, "lastModified": 1727748493,
"narHash": "sha256-ewGsUhNxIYv0g/a9GGa3cMlKXGgsSK14xgnr9JoT1zs=", "narHash": "sha256-62wWRIw12TR9DNFi2a9L23TEO8dOvr4mhr3lfpfXVpo=",
"type": "tarball", "type": "tarball",
"url": "https://git.gaze.systems/gazesys/website/releases/download/latest/source.tgz" "url": "https://git.gaze.systems/gazesys/website/releases/download/latest/source.tgz"
}, },

View File

@ -7,7 +7,6 @@
PUBLIC_BASE_URL = "https://gaze.systems"; PUBLIC_BASE_URL = "https://gaze.systems";
pkg = inputs.blog.packages.${pkgs.system}.default.overrideAttrs (old: { pkg = inputs.blog.packages.${pkgs.system}.default.overrideAttrs (old: {
inherit PUBLIC_BASE_URL; inherit PUBLIC_BASE_URL;
GUESTBOOK_BASE_URL = "http://localhost:8080";
}); });
port = 3003; port = 3003;
in { in {
@ -25,6 +24,8 @@ in {
HOME = "/var/lib/website"; HOME = "/var/lib/website";
ORIGIN = PUBLIC_BASE_URL; ORIGIN = PUBLIC_BASE_URL;
PORT = toString port; PORT = toString port;
GUESTBOOK_BASE_URL = "http://localhost:8080";
WEBSITE_DATA_DIR = "/var/lib/website";
}; };
serviceConfig = { serviceConfig = {
User = "website"; User = "website";