diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix index 6f92c0ca5e58..254eccf048b0 100644 --- a/nixos/modules/services/web-apps/nextcloud.nix +++ b/nixos/modules/services/web-apps/nextcloud.nix @@ -1166,7 +1166,7 @@ in imap0 (i: v: '' ${lib.getExe occ} config:system:set trusted_domains \ ${toString i} --value="${toString v}" - '') ([ cfg.hostName ] ++ cfg.settings.trusted_domains) + '') (lib.unique ([ cfg.hostName ] ++ cfg.settings.trusted_domains)) ); in