diff --git a/nixos/module/generic/postgresql.nix b/nixos/module/generic/postgresql.nix index 2f2b482..6ffe3a5 100644 --- a/nixos/module/generic/postgresql.nix +++ b/nixos/module/generic/postgresql.nix @@ -62,7 +62,7 @@ in { ${builtins.readFile cfg.script} ''}"; }; - path = [ ]; + path = [ cfg.package ]; wantedBy = [ "multi-user.target" ]; }; systemd.services.postgresql.environment = cfg.environment;