nix-config/hosts/common/optional/postgres.nix

10 lines
157 B
Nix
Raw Normal View History

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