From 8f0ad00f0b9788c194f05d8e2fe5febd00a118b9 Mon Sep 17 00:00:00 2001 From: Swarsel Date: Thu, 17 Oct 2024 00:17:16 +0200 Subject: [PATCH] fix: missing bracket --- SwarselSystems.org | 13 +++++++------ profiles/server/common/syncthing.nix | 3 ++- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/SwarselSystems.org b/SwarselSystems.org index b01c265..1e8e9a4 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -7682,9 +7682,9 @@ Also, the system state version is set here. No need to touch it. **** syncthing #+begin_src nix :tangle profiles/server/common/syncthing.nix - { pkgs, lib, config, ... }: - { - config = lib.mkIf config.swarselsystems.server.syncthing { +{ pkgs, lib, config, ... }: +{ + config = lib.mkIf config.swarselsystems.server.syncthing { users.users.syncthing = { extraGroups = [ "users" ]; @@ -7737,8 +7737,8 @@ Also, the system state version is set here. No need to touch it. }; }; - services.nginx = { - virtualHosts = { + services.nginx = { + virtualHosts = { "storync.swarsel.win" = { enableACME = true; forceSSL = true; @@ -7754,8 +7754,9 @@ Also, the system state version is set here. No need to touch it. }; }; }; + }; - } +} #+end_src diff --git a/profiles/server/common/syncthing.nix b/profiles/server/common/syncthing.nix index b46ee48..2980268 100644 --- a/profiles/server/common/syncthing.nix +++ b/profiles/server/common/syncthing.nix @@ -70,5 +70,6 @@ }; }; }; + }; - } +}