fix(exports): missing postgresql service attr

This commit is contained in:
arcnmx 2024-04-28 09:58:15 -07:00
parent 2de8a52d0a
commit 5ff9e5decb

View file

@ -8,6 +8,7 @@ in {
in f nixosConfig cfg;
in {
nixos = {
serviceAttr = "postgresql";
assertions = mkIf config.enable [
(mkAssertion (nixosConfig: cfg: {
assertion = config.ports.default.port == cfg.settings.port;