From 5e85572f5164f0c1c31c45a0afe45d33e03c8888 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Wed, 24 Jul 2024 09:28:23 -0600 Subject: [PATCH] installer: fix settime box: libreddit -> redlib --- hosts/box/default.nix | 4 ++-- installer.nix | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/hosts/box/default.nix b/hosts/box/default.nix index f9f7d7e..59e012d 100644 --- a/hosts/box/default.nix +++ b/hosts/box/default.nix @@ -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} diff --git a/installer.nix b/installer.nix index 3b0b0e5..807e047 100644 --- a/installer.nix +++ b/installer.nix @@ -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;