diff --git a/host/montalin/applications/cloud.nix b/host/montalin/applications/cloud.nix index d32c988..1287516 100644 --- a/host/montalin/applications/cloud.nix +++ b/host/montalin/applications/cloud.nix @@ -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; }; - + } diff --git a/host/montalin/database.nix b/host/montalin/database.nix index 4a91188..d57c325 100644 --- a/host/montalin/database.nix +++ b/host/montalin/database.nix @@ -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"; + }]; }; } diff --git a/role/nextcloud/default.nix b/role/nextcloud/default.nix index 1aea244..e59dbc5 100644 --- a/role/nextcloud/default.nix +++ b/role/nextcloud/default.nix @@ -18,7 +18,7 @@ }; systemd.services."nextcloud-setup" = { - requires = ["postgresql.service"]; - after = ["postgresql.service"]; + requires = [ "postgresql.service" ]; + after = [ "postgresql.service" ]; }; }