1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Set name, slogan and logo of nextcloud

This commit is contained in:
RGBCube 2024-01-16 14:05:34 +03:00
parent cb4ca64bd7
commit 092961aa89
No known key found for this signature in database
3 changed files with 14 additions and 3 deletions

2
.gitignore vendored
View file

@ -5,6 +5,7 @@
!hosts/ !hosts/
!hosts/enka/ !hosts/enka/
!hosts/cube/ !hosts/cube/
!hosts/cube/nextcloud/
!modules/ !modules/
!modules/hyprland/ !modules/hyprland/
@ -20,6 +21,7 @@
!flake.lock !flake.lock
!*.age !*.age
!*.gif
!*.md !*.md
!*.nix !*.nix
!*.nu !*.nu

View file

@ -1,4 +1,4 @@
{ config, ulib, pkgs, ... }: with ulib; { config, lib, ulib, pkgs, ... }: with ulib;
let let
inherit (config.networking) domain; inherit (config.networking) domain;
@ -16,9 +16,18 @@ in serverSystemConfiguration {
}; };
systemd.services = { systemd.services = {
nextcloud-setup.after = [ "postgresql.service" ];
nextcloud-setup.requires = [ "postgresql.service" ];
phpfpm-nextcloud.aliases = [ "nextcloud.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 { services.nextcloud = enabled {

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB