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

Simplify nextcloud systemd config

This commit is contained in:
RGBCube 2024-01-17 13:21:22 +03:00
parent f21ce75136
commit 05bdffa0a9
No known key found for this signature in database

View file

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