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

9 lines
146 B
Nix

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