nix-config/_/nixos/_mixins/optional/postgres.nix

10 lines
146 B
Nix
Raw Normal View History

_: {
services.postgresql.enable = true;
environment.persistence = {
"/persist".directories = [
"/var/lib/postgresql"
];
};
}