diff --git a/modules/system/exports/postgresql.nix b/modules/system/exports/postgresql.nix index 29fe1997..e7ba5c6b 100644 --- a/modules/system/exports/postgresql.nix +++ b/modules/system/exports/postgresql.nix @@ -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;