diff --git a/hosts/cube/nextcloud/default.nix b/hosts/cube/nextcloud/default.nix index ab14cbd..8974728 100644 --- a/hosts/cube/nextcloud/default.nix +++ b/hosts/cube/nextcloud/default.nix @@ -16,23 +16,19 @@ in serverSystemConfiguration { }]; }; - systemd.services = { - phpfpm-nextcloud.aliases = [ "nextcloud.service" ]; + systemd.services.nextcloud-setup = { + after = [ "postgresql.service" ]; + requires = [ "postgresql.service" ]; - nextcloud-setup = { - after = [ "postgresql.service" ]; - requires = [ "postgresql.service" ]; + script = lib.mkAfter '' + nextcloud-occ theming:config name "RGBCube's Depot" + nextcloud-occ theming:config slogan "RGBCube's storage of insignificant data." - script = lib.mkAfter '' - nextcloud-occ theming:config name "RGBCube's Depot" - nextcloud-occ theming:config slogan "RGBCube's storage of insignificant data." + nextcloud-occ theming:config color "#000000" + nextcloud-occ theming:config background backgroundColor - nextcloud-occ theming:config color "#000000" - nextcloud-occ theming:config background backgroundColor - - nextcloud-occ theming:config logo ${./icon.gif} - ''; - }; + nextcloud-occ theming:config logo ${./icon.gif} + ''; }; services.nextcloud = enabled {