installer: fix settime
box: libreddit -> redlib
This commit is contained in:
parent
113a4c23fb
commit
5e85572f51
@ -840,7 +840,7 @@ in
|
|||||||
cronIntervals = { daily = "50 21 * * *"; };
|
cronIntervals = { daily = "50 21 * * *"; };
|
||||||
};
|
};
|
||||||
|
|
||||||
libreddit = {
|
redlib = {
|
||||||
enable = true;
|
enable = true;
|
||||||
port = 8482;
|
port = 8482;
|
||||||
};
|
};
|
||||||
@ -930,7 +930,7 @@ in
|
|||||||
sslCertificate = "${config.sops.secrets.reddit_cert.path}";
|
sslCertificate = "${config.sops.secrets.reddit_cert.path}";
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://localhost:${toString config.services.libreddit.port}";
|
proxyPass = "http://localhost:${toString config.services.redlib.port}";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
${httpAllow}
|
${httpAllow}
|
||||||
|
@ -116,7 +116,10 @@ in
|
|||||||
if pkgs.system == "aarch64-linux"
|
if pkgs.system == "aarch64-linux"
|
||||||
then {
|
then {
|
||||||
description = "Set date on boot";
|
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" ];
|
after = [ "network-online.target" ];
|
||||||
script = ''
|
script = ''
|
||||||
. /etc/profile;
|
. /etc/profile;
|
||||||
|
Loading…
Reference in New Issue
Block a user