From 27d41ed91dd15346b9153fe83f56b4051a4ca87d Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 6 Dec 2024 13:23:47 +0100 Subject: [PATCH] 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. --- systems/x86_64-linux/mx/nextcloud.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/systems/x86_64-linux/mx/nextcloud.nix b/systems/x86_64-linux/mx/nextcloud.nix index 6cdf5c4..4986725 100644 --- a/systems/x86_64-linux/mx/nextcloud.nix +++ b/systems/x86_64-linux/mx/nextcloud.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, ... }: +{ pkgs, lib, config, ... }: { systemd.services."nextcloud-setup".requires = [ "postgresql.service" ]; systemd.services."nextcloud-setup".after = [ "postgresql.service" ]; @@ -13,14 +13,10 @@ inherit (config.services.nextcloud.package.packages.apps) calendar contacts - files_texteditor - files_markdown mail notes spreed tasks - twofactor_backupcodes - twofactor_totp ; }; hostName = "nc.hoyer.xyz";