mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-20 10:36:25 +00:00
10 lines
157 B
Nix
10 lines
157 B
Nix
|
{ lib, ... }: {
|
||
|
services.postgresql.enable = true;
|
||
|
|
||
|
environment.persistence = {
|
||
|
"/persist".directories = [
|
||
|
"/var/lib/postgresql"
|
||
|
];
|
||
|
};
|
||
|
}
|