aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-11-02 17:26:27 -0300
committerEuAndreh <eu@euandre.org>2020-11-02 17:26:27 -0300
commit8002fa28dc1428b957ffb08b279e66fe892ebb74 (patch)
treebcfaf7ca9ccb52565c20278f7155e0dab93eee7e
parentnixos-switch.sh: Idempotently create folders and set permissions (diff)
downloadtoph-8002fa28dc1428b957ffb08b279e66fe892ebb74.tar.gz
toph-8002fa28dc1428b957ffb08b279e66fe892ebb74.tar.xz
vps-configuration.nix: Use correct location of "fold" function
-rw-r--r--vps-configuration.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/vps-configuration.nix b/vps-configuration.nix
index 0d725ba..8ef0693 100644
--- a/vps-configuration.nix
+++ b/vps-configuration.nix
@@ -107,9 +107,9 @@ in {
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts =
- builtins.fold (repo: acc: acc // static-site-from-repo repo) { }
+ pkgs.lib.fold (repo: acc: acc // static-site-from-repo repo) { }
config.static-sites
- // builtins.fold (project: acc: acc // docs-site-for-project project)
+ // pkgs.lib.fold (project: acc: acc // docs-site-for-project project)
{ } config.docs-projects // {
"${config.TLD}" = {
locations."= /.well-known/matrix/server".extraConfig = ''