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:
parent
f21ce75136
commit
05bdffa0a9
1 changed files with 10 additions and 14 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue