nix/modules/nixos/services/postgres/default.nix

13 lines
291 B
Nix
Raw Normal View History

{ config, lib, ... }: {
options.snowflake.services.postgresql = {
enable = lib.mkEnableOption "enable postgresql";
};
config = lib.mkIf config.snowflake.services.postgresql.enable {
services.postgresql = {
enable = true;
settings = { port = 5432; };
};
};
}