From 87547dd36682a9bae514f4d281efbcd2b07060d0 Mon Sep 17 00:00:00 2001 From: albert <albert@sysctl.io> Date: Tue, 11 Mar 2025 10:14:22 -0700 Subject: [PATCH] Update syncthing --- nixos/common/services/syncthing/pictures.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nixos/common/services/syncthing/pictures.nix b/nixos/common/services/syncthing/pictures.nix index b36b10c4..2d859a63 100644 --- a/nixos/common/services/syncthing/pictures.nix +++ b/nixos/common/services/syncthing/pictures.nix @@ -1,4 +1,4 @@ -{ path, ... }: let +{ config, path, ... }: let devices = [ "framework13" "framework16" @@ -6,6 +6,10 @@ "nixos-desktop" ]; in { + # Ensure the folder exists + systemd.tmpfiles.rules = [ + "d ${config.services.syncthing.settings.folders.Pictures.path} - albert albert" + ]; services.syncthing = { settings = { folders = {