Fix nixfmt

This commit is contained in:
Fabian Hauser 2020-10-25 15:46:22 +01:00
parent ba7db5a22e
commit f343221d86
3 changed files with 10 additions and 13 deletions

View file

@ -1,5 +1,5 @@
{ config, pkgs, ... }: let { config, pkgs, ... }:
host = "chur.fh2.ch"; let host = "chur.fh2.ch";
in { in {
imports = [ imports = [

View file

@ -2,15 +2,12 @@
{ {
imports = [ imports = [ ../../role/database ];
../../role/database
];
services.postgresql = { services.postgresql = {
ensureDatabases = [ "nextcloud" ]; ensureDatabases = [ "nextcloud" ];
ensureUsers = [ ensureUsers = [{
{ name = "nextcloud"; name = "nextcloud";
ensurePermissions."DATABASE nextcloud" = "ALL PRIVILEGES"; ensurePermissions."DATABASE nextcloud" = "ALL PRIVILEGES";
} }];
];
}; };
} }