disable continuwuity dns_cache_entries
This commit is contained in:
parent
6692edb566
commit
5fb8e1bcb3
4 changed files with 3149 additions and 3147 deletions
50
flake.lock
generated
50
flake.lock
generated
|
|
@ -377,11 +377,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770846765,
|
"lastModified": 1770499719,
|
||||||
"narHash": "sha256-SiXXl7/2Tm/BNKp0Df2lal/gO6mDXcCRZ2RIOXkafXI=",
|
"narHash": "sha256-FuTZ7wJmhq5myL5SCQTTlEbuKyZhGvGlEmCZcHla6rw=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "40ee00c36b3496dc394e55fff03896219bfd9011",
|
"rev": "f15283cb7fed0b1f46b1e7c221bd3b9e66c9ee5e",
|
||||||
"revCount": 14,
|
"revCount": 13,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.federated.nexus/Henry-Hiles/cozybot"
|
"url": "https://git.federated.nexus/Henry-Hiles/cozybot"
|
||||||
},
|
},
|
||||||
|
|
@ -563,11 +563,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771881364,
|
"lastModified": 1769524058,
|
||||||
"narHash": "sha256-A5uE/hMium5of/QGC6JwF5TGoDAfpNtW00T0s9u/PN8=",
|
"narHash": "sha256-zygdD6X1PcVNR2PsyK4ptzrVEiAdbMqLos7utrMDEWE=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "disko",
|
"repo": "disko",
|
||||||
"rev": "a4cb7bf73f264d40560ba527f9280469f1f081c6",
|
"rev": "71a3fc97d80881e91710fe721f1158d3b96ae14d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -669,11 +669,11 @@
|
||||||
"firefox-gnome-theme": {
|
"firefox-gnome-theme": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771204701,
|
"lastModified": 1769534627,
|
||||||
"narHash": "sha256-BT2dt/yaaXpYdwX9EzkG/MOnaB1MLbTzV2pU5vI20NU=",
|
"narHash": "sha256-zWHaHaj+g56VZlqy7siL4OQucd6RUo0vBIcJTqNMw4A=",
|
||||||
"owner": "rafaelmardojai",
|
"owner": "rafaelmardojai",
|
||||||
"repo": "firefox-gnome-theme",
|
"repo": "firefox-gnome-theme",
|
||||||
"rev": "93011b4b88a93ffca3ad5d71b163ede327620d14",
|
"rev": "5d6052b18a6cfff6ee69859206c68b8f1947f970",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1118,11 +1118,11 @@
|
||||||
},
|
},
|
||||||
"gnome-mobile": {
|
"gnome-mobile": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771887417,
|
"lastModified": 1748795015,
|
||||||
"narHash": "sha256-tE6poOHn9lZ+NdqOKrgcA/q5UPuDSgznatRfV2UUPHc=",
|
"narHash": "sha256-+XyXaa3KmgOykQpo6k4XsEaHWDGj8inCxMMGOWat4EM=",
|
||||||
"owner": "chuangzhu",
|
"owner": "chuangzhu",
|
||||||
"repo": "nixpkgs-gnome-mobile",
|
"repo": "nixpkgs-gnome-mobile",
|
||||||
"rev": "45bf1c0c3f925958bf1311ea387238c2be6fd7b7",
|
"rev": "825ebb10c8bf02cb4b6553f3b85e169dc92484d7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1199,11 +1199,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772060133,
|
"lastModified": 1770491427,
|
||||||
"narHash": "sha256-VuyRptb8v1lVGMlLp4/1vRX3Efwec0CN0S6mKmDPzLg=",
|
"narHash": "sha256-8b+0vixdqGnIIcgsPhjdX7EGPdzcVQqYxF+ujjex654=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "ce9b6e52500a0ea0ec48f0bbf6d7a3e431d9dfa4",
|
"rev": "cbd8a72e5fe6af19d40e2741dc440d9227836860",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -2125,11 +2125,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771848320,
|
"lastModified": 1770197578,
|
||||||
"narHash": "sha256-0MAd+0mun3K/Ns8JATeHT1sX28faLII5hVLq0L3BdZU=",
|
"narHash": "sha256-AYqlWrX09+HvGs8zM6ebZ1pwUqjkfpnv8mewYwAo+iM=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "2fc6539b481e1d2569f25f8799236694180c0993",
|
"rev": "00c21e4c93d963c50d4c0c89bfa84ed6e0694df2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -2278,11 +2278,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-master": {
|
"nixpkgs-master": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772122206,
|
"lastModified": 1770499519,
|
||||||
"narHash": "sha256-wJ5AOxaNi+YxLFuexjl2D7knrxWvp+r77Jm0N0pJt6o=",
|
"narHash": "sha256-K7pS4M5jzqyXkfZ1qmk+DPHnJfD6fPESdKCNiqqifVQ=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "5a4de535e79f79ede2f2a15af67024b4c94441de",
|
"rev": "895c66264bbc5a52ebefac7e31c8c6911da980da",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -2808,11 +2808,11 @@
|
||||||
"tinted-zed": "tinted-zed"
|
"tinted-zed": "tinted-zed"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771787992,
|
"lastModified": 1770382623,
|
||||||
"narHash": "sha256-Vg4bGwwenNYI8p3nJTl9FRyeIyrjATeZrZr+GyUSDrw=",
|
"narHash": "sha256-NB9j2JsIcSPcY7FzzoIqJA04p4xSdJpgyLAwzzzncpc=",
|
||||||
"owner": "danth",
|
"owner": "danth",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"rev": "30054cca073b49b42a71289edec858f535b27fe9",
|
"rev": "05c798e0074296df9bfc6ef3df0e936b878b835a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -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