install wiki-js
This commit is contained in:
parent
2e7fefa7b9
commit
9b13797b9b
3 changed files with 76 additions and 0 deletions
20
nixos/viridian/services/postgresql/default.nix
Normal file
20
nixos/viridian/services/postgresql/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{pkgs, ...}: {
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
package = pkgs.postgresql_15;
|
||||
settings = {
|
||||
port = 5432;
|
||||
};
|
||||
dataDir = "/var/lib/postgresql/15";
|
||||
};
|
||||
|
||||
environment.persistence."/persist" = {
|
||||
directories = [
|
||||
{
|
||||
directory = "/var/lib/postgresql";
|
||||
user = "postgres";
|
||||
group = "postgres";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue