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 = {