diff --git a/.gitignore b/.gitignore index 333a597..1f338dd 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ !hosts/ !hosts/enka/ !hosts/cube/ +!hosts/cube/nextcloud/ !modules/ !modules/hyprland/ @@ -20,6 +21,7 @@ !flake.lock !*.age +!*.gif !*.md !*.nix !*.nu diff --git a/hosts/cube/nextcloud.nix b/hosts/cube/nextcloud/default.nix similarity index 82% rename from hosts/cube/nextcloud.nix rename to hosts/cube/nextcloud/default.nix index f3cf4d2..6ae2077 100644 --- a/hosts/cube/nextcloud.nix +++ b/hosts/cube/nextcloud/default.nix @@ -1,4 +1,4 @@ - { config, ulib, pkgs, ... }: with ulib; + { config, lib, ulib, pkgs, ... }: with ulib; let inherit (config.networking) domain; @@ -16,9 +16,18 @@ in serverSystemConfiguration { }; systemd.services = { - nextcloud-setup.after = [ "postgresql.service" ]; - nextcloud-setup.requires = [ "postgresql.service" ]; phpfpm-nextcloud.aliases = [ "nextcloud.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." + nextcloud-occ theming:config logo ${./icon.gif} + ''; + }; }; services.nextcloud = enabled { diff --git a/hosts/cube/nextcloud/icon.gif b/hosts/cube/nextcloud/icon.gif new file mode 100644 index 0000000..14b8c13 Binary files /dev/null and b/hosts/cube/nextcloud/icon.gif differ