disable continuwuity dns_cache_entries
This commit is contained in:
parent
6692edb566
commit
5fb8e1bcb3
4 changed files with 3149 additions and 3147 deletions
6214
flake.lock
generated
6214
flake.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -1,40 +1,40 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
# environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
# (pkgs.writeShellApplication {
|
(pkgs.writeShellApplication {
|
||||||
# name = "book";
|
name = "book";
|
||||||
# runtimeInputs = with pkgs; [
|
runtimeInputs = with pkgs; [
|
||||||
# libgourou
|
libgourou
|
||||||
# calibre
|
calibre
|
||||||
# ];
|
];
|
||||||
# text = ''
|
text = ''
|
||||||
# input="$1"
|
input="$1"
|
||||||
|
|
||||||
# if [ -f "$input" ] && echo "$input" | grep -qi "\.epub$"; then
|
if [ -f "$input" ] && echo "$input" | grep -qi "\.epub$"; then
|
||||||
# fullpath="$input"
|
fullpath="$input"
|
||||||
# else
|
else
|
||||||
# if [ ! -d "$HOME/.config/adept" ]; then
|
if [ ! -d "$HOME/.config/adept" ]; then
|
||||||
# adept_activate --anonymous
|
adept_activate --anonymous
|
||||||
# fi
|
fi
|
||||||
|
|
||||||
# fullpath=$(acsmdownloader --output-dir /tmp "$input" \
|
fullpath=$(acsmdownloader --output-dir /tmp "$input" \
|
||||||
# | tee /dev/tty \
|
| tee /dev/tty \
|
||||||
# | grep "^Created " \
|
| grep "^Created " \
|
||||||
# | sed "s/^Created //")
|
| sed "s/^Created //")
|
||||||
|
|
||||||
# adept_remove "$fullpath"
|
adept_remove "$fullpath"
|
||||||
# fi
|
fi
|
||||||
|
|
||||||
# name=$(basename "$fullpath" | rev | cut -d. -f2- | rev)
|
name=$(basename "$fullpath" | rev | cut -d. -f2- | rev)
|
||||||
# ext=$(echo "$fullpath" | rev | cut -d. -f1 | rev)
|
ext=$(echo "$fullpath" | rev | cut -d. -f1 | rev)
|
||||||
|
|
||||||
# if [ "$ext" = "epub" ]; then
|
if [ "$ext" = "epub" ]; then
|
||||||
# ebook-convert "$fullpath" "/run/media/quadradical/Kindle/documents/$name.mobi"
|
ebook-convert "$fullpath" "/run/media/quadradical/Kindle/documents/$name.mobi"
|
||||||
# rm "$fullpath"
|
rm "$fullpath"
|
||||||
# else
|
else
|
||||||
# mv "$fullpath" "/run/media/quadradical/Kindle/documents/$name.pdf"
|
mv "$fullpath" "/run/media/quadradical/Kindle/documents/$name.pdf"
|
||||||
# fi
|
fi
|
||||||
# '';
|
'';
|
||||||
# })
|
})
|
||||||
# ];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@
|
||||||
"github.com/ggicci/caddy-jwt@v1.1.0"
|
"github.com/ggicci/caddy-jwt@v1.1.0"
|
||||||
"pkg.jsn.cam/caddy-defender@v0.9.0"
|
"pkg.jsn.cam/caddy-defender@v0.9.0"
|
||||||
];
|
];
|
||||||
hash = "sha256-oHVMZZX3wTB6EoZJnFHNnSj+3oB7ref2hMsxJ5b0/mo=";
|
hash = "sha256-F7dxKwReGNCq85Wi/9TW8FsbgLRkJtA/RtZjoQRMZ+Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
globalConfig = ''
|
globalConfig = ''
|
||||||
|
|
|
||||||
|
|
@ -37,17 +37,16 @@
|
||||||
settings.global = config.quad.matrix.settings // {
|
settings.global = config.quad.matrix.settings // {
|
||||||
server_name = config.quad.matrix.domain;
|
server_name = config.quad.matrix.domain;
|
||||||
unix_socket_path = socket;
|
unix_socket_path = socket;
|
||||||
|
|
||||||
new_user_displayname_suffix = "";
|
new_user_displayname_suffix = "";
|
||||||
allow_public_room_directory_over_federation = true;
|
|
||||||
|
ignore_messages_from_server_names = [ ];
|
||||||
trusted_servers = [
|
trusted_servers = [
|
||||||
"matrix.org"
|
"matrix.org"
|
||||||
"maunium.net"
|
"maunium.net"
|
||||||
"codestorm.net"
|
"codestorm.net"
|
||||||
"unredacted.org"
|
"unredacted.org"
|
||||||
];
|
];
|
||||||
ignore_messages_from_server_names = [ ];
|
|
||||||
url_preview_domain_explicit_allowlist = [ "*" ];
|
|
||||||
url_preview_max_spider_size = 2097152;
|
|
||||||
|
|
||||||
admins_from_room = false;
|
admins_from_room = false;
|
||||||
admins_list = [
|
admins_list = [
|
||||||
|
|
@ -56,13 +55,16 @@
|
||||||
"@hexaheximal:federated.nexus"
|
"@hexaheximal:federated.nexus"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
url_preview_domain_explicit_allowlist = [ "*" ];
|
||||||
|
url_preview_max_spider_size = 2097152;
|
||||||
max_request_size = 524288000;
|
max_request_size = 524288000;
|
||||||
|
db_cache_capacity_mb = 2056;
|
||||||
|
dns_cache_entries = 0;
|
||||||
|
|
||||||
allow_local_presence = false;
|
allow_public_room_directory_over_federation = true;
|
||||||
allow_incoming_presence = false;
|
allow_incoming_presence = false;
|
||||||
allow_outgoing_presence = false;
|
allow_outgoing_presence = false;
|
||||||
|
allow_local_presence = false;
|
||||||
db_cache_capacity_mb = 2056;
|
|
||||||
|
|
||||||
well_known = {
|
well_known = {
|
||||||
client = "https://${subdomain}";
|
client = "https://${subdomain}";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue