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
host = "chur.fh2.ch";
{ config, pkgs, ... }:
let host = "chur.fh2.ch";
in {
imports = [
@ -16,5 +16,5 @@ in {
forceSSL = true;
enableACME = true;
};
}

View file

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

View file

@ -18,7 +18,7 @@
};
systemd.services."nextcloud-setup" = {
requires = ["postgresql.service"];
after = ["postgresql.service"];
requires = [ "postgresql.service" ];
after = [ "postgresql.service" ];
};
}