From 6a7f2d04f0cfbca4434edbcdc5b38b262da36ae0 Mon Sep 17 00:00:00 2001 From: derfenix Date: Tue, 7 Jan 2025 17:50:16 +0300 Subject: [PATCH] Update nix flake --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 62ff19e..7a16f1b 100644 --- a/flake.nix +++ b/flake.nix @@ -86,8 +86,8 @@ environment.systemPackages = [ self.packages.${pkgs.system}.photocatalog ]; systemd.services = lib.genAttrs (lib.attrValues config.photocatalog.syncs) (sync: { - ${sync.name} = { - name = "photocatalog_${sync.name}"; + ${sync.source} = { + name = "photocatalog_${sync.source}"; after = [ "local-fs.target" ]; path = [ self.packages.${pkgs.system}.photocatalog