Add testbench and rudiger
This commit is contained in:
parent
0969b36564
commit
6d318bddaa
21 changed files with 415 additions and 173 deletions
12
config/hosts/rudiger/services/postgres.nix
Normal file
12
config/hosts/rudiger/services/postgres.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
ensureDatabases = [ "nextcloud" ];
|
||||
ensureUsers = [
|
||||
{ name = "nextcloud";
|
||||
ensurePermissions."DATABASE nextcloud" = "ALL PRIVILEGES";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue