From c77a6bc6fdd17996ba4e47d49b544674155ef9e2 Mon Sep 17 00:00:00 2001 From: Nick Date: Fri, 10 Oct 2025 02:08:29 -0500 Subject: [PATCH] feat: added syncthing --- modules/nixos/services/postgresql/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/nixos/services/postgresql/default.nix b/modules/nixos/services/postgresql/default.nix index 2cfa247..abc8e37 100755 --- a/modules/nixos/services/postgresql/default.nix +++ b/modules/nixos/services/postgresql/default.nix @@ -54,6 +54,8 @@ in ]; system.activationScripts.postgresCommands = '' - chown -R ${service.name}:${service.name} ${service.paths.path0} + if [ ! -d "${service.paths.path0}/15" ]; then + chown -R ${service.name}:${service.name} ${service.paths.path0} + fi ''; }