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:
parent
cb4ca64bd7
commit
092961aa89
3 changed files with 14 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -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
|
||||||
|
|
|
@ -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 {
|
BIN
hosts/cube/nextcloud/icon.gif
Normal file
BIN
hosts/cube/nextcloud/icon.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 81 KiB |
Loading…
Add table
Add a link
Reference in a new issue