feat(nextcloud): update service dependencies and apps

Include `config` in function parameters for better configurability. Removed unnecessary Nextcloud apps such as `files_texteditor`, `files_markdown`, `twofactor_backupcodes`, and `twofactor_totp` to streamline service setup.
This commit is contained in:
Harald Hoyer 2024-12-06 13:23:47 +01:00
parent aef4e331ae
commit 27d41ed91d

View file

@ -1,4 +1,4 @@
{ pkgs, lib, ... }: { pkgs, lib, config, ... }:
{ {
systemd.services."nextcloud-setup".requires = [ "postgresql.service" ]; systemd.services."nextcloud-setup".requires = [ "postgresql.service" ];
systemd.services."nextcloud-setup".after = [ "postgresql.service" ]; systemd.services."nextcloud-setup".after = [ "postgresql.service" ];
@ -13,14 +13,10 @@
inherit (config.services.nextcloud.package.packages.apps) inherit (config.services.nextcloud.package.packages.apps)
calendar calendar
contacts contacts
files_texteditor
files_markdown
mail mail
notes notes
spreed spreed
tasks tasks
twofactor_backupcodes
twofactor_totp
; ;
}; };
hostName = "nc.hoyer.xyz"; hostName = "nc.hoyer.xyz";