From 4b5078a76ca05d6300a7d40a5c597c059533efd6 Mon Sep 17 00:00:00 2001 From: chn Date: Wed, 4 Oct 2023 15:42:34 +0800 Subject: [PATCH] fix --- modules/services/nextcloud.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/services/nextcloud.nix b/modules/services/nextcloud.nix index 22410403..c929e86a 100644 --- a/modules/services/nextcloud.nix +++ b/modules/services/nextcloud.nix @@ -1,22 +1,22 @@ inputs: { - options.nixos.services.nextcould = let inherit (inputs.lib) mkOption types; in + options.nixos.services.nextcloud = let inherit (inputs.lib) mkOption types; in { enable = mkOption { type = types.bool; default = true; }; hostname = mkOption { type = types.str; default = "nextcloud.chn.moe"; }; }; config = let - inherit (inputs.config.nixos.services) nextcould; + inherit (inputs.config.nixos.services) nextcloud; inherit (inputs.localLib) attrsToList; inherit (inputs.lib) mkIf mkMerge; inherit (builtins) map listToAttrs toString replaceStrings filter toJSON; - in mkIf nextcould.enable + in mkIf nextcloud.enable { services.nextcloud = { enable = true; - hostName = nextcould.hostname; + hostName = nextcloud.hostname; appstoreEnable = false; https = true; package = inputs.pkgs.nextcloud27;