nix-config/nixos/_mixins/optional/postgres.nix
Greg Burd 86706b1fc7 wimpy-ified
inspired by wimpysworld nix-config
2023-09-25 14:05:07 -04:00

9 lines
146 B
Nix

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