installer: fix settime

box: libreddit -> redlib
This commit is contained in:
Aaron Bieber 2024-07-24 09:28:23 -06:00
parent 113a4c23fb
commit 5e85572f51
No known key found for this signature in database
2 changed files with 6 additions and 3 deletions

View File

@ -840,7 +840,7 @@ in
cronIntervals = { daily = "50 21 * * *"; };
};
libreddit = {
redlib = {
enable = true;
port = 8482;
};
@ -930,7 +930,7 @@ in
sslCertificate = "${config.sops.secrets.reddit_cert.path}";
forceSSL = true;
locations."/" = {
proxyPass = "http://localhost:${toString config.services.libreddit.port}";
proxyPass = "http://localhost:${toString config.services.redlib.port}";
proxyWebsockets = true;
extraConfig = ''
${httpAllow}

View File

@ -116,7 +116,10 @@ in
if pkgs.system == "aarch64-linux"
then {
description = "Set date on boot";
wantedBy = [ "network-online.target" ];
wants =
[ "network-online.target" "multi-user.target" ];
before = [ "matrix-synapse.service" ];
wantedBy = [ "multi-user.target" ];
after = [ "network-online.target" ];
script = ''
. /etc/profile;