Commit Graph

442 Commits

Author SHA1 Message Date
chn
b2ccf88adc 整理 system.nixpkgs 2023-09-02 21:21:29 +08:00
chn
6b8d105349 fix build 2023-09-02 16:55:49 +08:00
chn
5132bded49 将 impermanence 移到 system 模块中 2023-09-02 16:40:17 +08:00
chn
b00a0b51e7 增加 phpfpm 2023-09-02 16:30:21 +08:00
chn
735217d1b8 修改 hostname 为 pc 2023-09-01 21:18:09 +08:00
chn
3e029b25a5 tab 替换为空格 2023-09-01 21:05:26 +08:00
chn
fe0130fa9d 整理 2023-08-31 18:53:48 +08:00
chn
9aab39149a update vscode extensions
use nil
2023-08-31 18:38:55 +08:00
chn
b013ca70b3 pc: enable nebula
nebula fix firewall
2023-08-31 17:37:45 +08:00
chn
9ae78ee549 vps6 enable nebula 2023-08-31 17:20:17 +08:00
chn
2415889698 coturn: allow both tls and non-tls connections
synapse: coturn use both tls and non-tls connections
2023-08-31 01:27:42 +08:00
chn
613bbb8513 coturn: change port to 5349
synapse: coturn use default port, allow both tcp and udp
2023-08-30 23:56:52 +08:00
chn
e413b16605 synapse: coturn set port 2023-08-30 23:49:51 +08:00
chn
b679bc595a synapse: coturn use udp 2023-08-30 23:40:41 +08:00
chn
c5974e5d5d coturn: set port to 3478
synapse: use turns instead of turn
2023-08-30 23:36:04 +08:00
chn
d5673acf64 nginx: allow port 80
coturn: allow ports
2023-08-30 23:24:50 +08:00
chn
0dd3c2b03d meilisearch: remove IODeviceLatencyTargetSec 2023-08-30 22:16:38 +08:00
chn
db5c126098 postgresql: enable autovacuum 2023-08-30 21:49:18 +08:00
chn
1fe0be0d82 meilisearch: lower IO priority 2023-08-30 21:39:34 +08:00
chn
9d98d1ac4d meilisearch: use idle scheduling 2023-08-30 20:26:53 +08:00
chn
d6cc45bdb8 meilisearch: set max_indexing_threads to 1 2023-08-30 20:21:52 +08:00
chn
0cdefd8d79 Revert "misskey: remove meilisearch"
This reverts commit a3a5ab23c0.
2023-08-30 20:08:08 +08:00
chn
a3a5ab23c0 misskey: remove meilisearch 2023-08-30 20:00:37 +08:00
chn
0296ca679f nginx: fix 2023-08-30 16:14:08 +08:00
chn
5d21d29aac postgresql: use native package 2023-08-30 16:01:27 +08:00
chn
bb407addda nginx: increase proxy timeouts 2023-08-30 15:51:10 +08:00
chn
65232df9c7 postgresql: enable automatic backups 2023-08-30 15:46:04 +08:00
chn
72b566a4bf postgresql: disable autovacuum
synapse: fix
system: disable coredump
2023-08-30 15:42:14 +08:00
chn
6f6305df95 postgresql: increase shared_buffers and work_mem 2023-08-30 00:56:15 +08:00
chn
d5b355d4e7 synapse: try to workaround config merge bug 2023-08-29 23:11:49 +08:00
chn
3516842bd7 synapse: move email config to secrets 2023-08-29 22:45:41 +08:00
chn
9e2b761ffa Revert "synapse: try to fix yaml escaping"
This reverts commit 8fbab0285e.
2023-08-29 22:45:05 +08:00
chn
8fbab0285e synapse: try to fix yaml escaping 2023-08-29 22:40:42 +08:00
chn
76a237694c add synapse 2023-08-29 22:15:58 +08:00
chn
0a40f47aab enable coturn for vps6 2023-08-29 20:28:11 +08:00
chn
67f6ec0d7c xray: fix client dns 2023-08-29 17:25:30 +08:00
chn
d2b29999ff Revert "xray: fix client dns settings"
This reverts commit 0b966ab1da.
2023-08-29 17:06:15 +08:00
chn
0b966ab1da xray: fix client dns settings 2023-08-29 17:01:30 +08:00
chn
793f2c9e0a misskey: increase statement_timeout 2023-08-29 10:32:09 +08:00
chn
f4916eed5d postgresql: enable autovacuum 2023-08-29 10:30:32 +08:00
chn
fb8d4e4b89 meilisearch: increase max_indexing_memory 2023-08-28 11:07:22 +08:00
chn
5cc4dda9b1 meilisearch: optimise for performance
system: set NIX_PATH
system: add substituters
2023-08-27 22:14:31 +08:00
chn
959a4d448c use native meilisearch 2023-08-27 20:27:15 +08:00
chn
d77c2fdd85 meilisearch: RUST_BACKTRACE = "full"
mk-meili-mgn: update to 20230827
2023-08-27 19:10:21 +08:00
chn
fab096a46c meilisearch: use musl generic 2023-08-27 18:00:13 +08:00
chn
c72665bbf6 meilisearch: use musl 2023-08-27 16:44:23 +08:00
chn
0ad8903f01 vps7 enable nodatacow 2023-08-27 11:36:21 +08:00
chn
b9b9d97c02 meilisearch: use 2GB of memory for indexing 2023-08-27 10:20:53 +08:00
chn
4e02b3aaa6 xray: 8.8.8.8 force proxy 2023-08-27 10:08:49 +08:00
chn
a622daaa40 分离 xray 的设置 2023-08-27 09:54:05 +08:00
chn
a50275f54a try to fix meilisearch 2023-08-27 02:04:00 +08:00
chn
98ff90f8ad fix nginx geoip2 log 2023-08-27 00:39:30 +08:00
chn
01749a6e41 nginx enable reload 2023-08-27 00:35:43 +08:00
chn
cf98f233a3 fix meilisearch files permissions 2023-08-27 00:33:59 +08:00
chn
9d78bf0470 misskey proxy allow multiple instances 2023-08-26 14:12:06 +08:00
chn
fd0c285a47 fix meilisearch 2023-08-26 13:47:45 +08:00
chn
dce8fe8cda misskey add meilisearch 2023-08-26 13:30:35 +08:00
chn
736f84b105 add meilisearch 2023-08-26 12:17:30 +08:00
chn
935d7ef64c fix nginx 2023-08-26 01:27:04 +08:00
chn
bef540c0cc fix nginx 2023-08-26 01:00:32 +08:00
chn
773cfb5e99 fix nginx 2023-08-26 00:12:15 +08:00
chn
43c6ac6448 nginx add log 2023-08-25 23:54:04 +08:00
chn
2ef8957aab fix 2023-08-25 23:22:47 +08:00
chn
fa4caaa2e9 fix 2023-08-25 23:18:13 +08:00
chn
d60a991eac enable 铜锣湾实验室 2023-08-25 22:55:33 +08:00
chn
b7c890a206 misskey 增加代理,并准备部署到 vps7 2023-08-25 22:32:43 +08:00
chn
56998a5f6d move nginx to a separate file 2023-08-25 20:53:31 +08:00
chn
3af36c2219 完成misskey服务 2023-08-25 19:36:09 +08:00
chn
f2d7260390 fix misskey services 2023-08-25 18:46:26 +08:00
chn
c92e834908 add misskey 2023-08-25 18:25:34 +08:00
chn
43bd2adfcc fix rsshub 2023-08-23 17:32:13 +08:00
chn
ef32ce14bb try to fix rsshub services 2023-08-23 16:52:23 +08:00
chn
270e190408 fix rsshub environment file 2023-08-23 16:37:38 +08:00
chn
c6638965b2 finally finish rsshub 2023-08-23 13:34:58 +08:00
chn
26a41318fa disable ussh
enable yubicoAuth for all
fix u2f
2023-08-21 13:32:41 +08:00
chn
59ead7ad36 xray enable socks5 proxy 2023-08-20 13:55:54 +08:00
chn
d73d16df74 fix build 2023-08-20 12:48:05 +08:00
chn
299bcf5003 增加huginn(还没有写完) 2023-08-20 12:42:07 +08:00
chn
6769b0925b 移动 rootless docker 的定义位置 2023-08-20 12:29:50 +08:00
chn
b670b6bf4f add postgresql 2023-08-20 12:19:56 +08:00
chn
b93c3736bb Merge branch 'rootless-docker' 2023-08-20 11:21:14 +08:00
chn
ebb8c11c62 add nya.one to proxy 2023-08-18 22:18:24 +08:00
chn
590f5053a5 move v2ray-forwarder from touchix to local
add proxy_net
2023-08-17 03:34:37 +08:00
chn
60ec759e7d 编译通过 2023-08-16 20:22:27 +08:00
chn
14ce29fd6c add rootless docker 2023-08-16 19:51:55 +08:00
chn
add7b0333d Revert "test"
This reverts commit d621a2230c.
2023-08-15 17:24:08 +08:00
chn
d621a2230c test 2023-08-15 17:16:16 +08:00
chn
e8f8818604 fix wallabag 2023-08-15 16:40:12 +08:00
chn
0282024b55 currently disable wallabag mailer 2023-08-15 16:26:46 +08:00
chn
1206baf90f fix wallabag 2023-08-15 16:22:06 +08:00
chn
8741456752 fix wallabag mail 2023-08-15 15:17:03 +08:00
chn
0cce2683d9 try to run oci without root 2023-08-15 02:50:03 +08:00
chn
43371859a8 fix wallabag init db 2023-08-15 01:34:13 +08:00
chn
eae709a7fb fix postgresql authentication 2023-08-15 01:29:12 +08:00
chn
85d4e22b65 enable wallabag to vps7 2023-08-15 01:10:28 +08:00
chn
4388d82d4d enable postgresql for vps7 2023-08-15 00:53:30 +08:00
chn
990c4f656b fix vps7 nginx 2023-08-15 00:02:54 +08:00
chn
8a91ce4405 rsshub should enable nginx 2023-08-14 23:55:43 +08:00
chn
661b45a02d oci need docker enable 2023-08-14 23:18:14 +08:00
chn
e72c967cbf fix nginx ssl 2023-08-14 22:21:00 +08:00
chn
c83385f63f add rsshub 2023-08-14 22:08:44 +08:00
chn
942347c4d3 enable postgresql 2023-08-14 17:07:57 +08:00
chn
495cb862bf acme use google dns 2023-08-14 14:36:21 +08:00
chn
3ccf8b4013 nix-store compress at local 2023-08-14 14:25:21 +08:00
chn
cb1cefcbf3 nix-serve enable nginx proxy 2023-08-14 13:57:37 +08:00
chn
a5b1afc357 xray server do not force enable nginx 2023-08-14 13:51:59 +08:00
chn
ee3e6b293c allow to only enable nginx without transparent proxy 2023-08-14 13:49:17 +08:00
chn
f301ab22e9 adjust nginx config 2023-08-14 02:30:36 +08:00
chn
fc1a18a3f3 remove fileshelter 2023-08-14 02:16:53 +08:00
chn
f203ba62cc adjust some nginx settings 2023-08-14 02:14:37 +08:00
chn
ce55cf8477 fix fileshelter user 2023-08-14 00:34:43 +08:00
chn
b4f3550483 nginx use geoip2 2023-08-14 00:11:48 +08:00
chn
49e25ed3cd remove send, add fileshelter 2023-08-13 23:24:47 +08:00
chn
78ac8125bd nginx allow to disable http2 2023-08-13 22:43:34 +08:00
chn
2a8cd527e3 nginx fix websocket client_max_body_size 2023-08-13 22:20:03 +08:00
chn
0618320b1b change port 2023-08-13 21:58:14 +08:00
chn
0d1d7b4301 fix docker image 2023-08-13 21:56:39 +08:00
chn
23ffdd7ac5 fix docker env 2023-08-13 21:46:59 +08:00
chn
75dc69fd6d enable socket for redis 2023-08-13 21:39:46 +08:00
chn
f003ee374e fix env file 2023-08-13 21:31:16 +08:00
chn
56d53876be 整理 nginx config 2023-08-13 21:15:10 +08:00
chn
589194cce8 fix nginx config 2023-08-13 21:11:48 +08:00
chn
327e294a14 fix nginx conf 2023-08-13 21:08:05 +08:00
chn
f53b8c3a20 fix nginx listen 2023-08-13 21:02:56 +08:00
chn
c3331ae425 enable send for vps6 2023-08-13 20:53:42 +08:00
chn
6547b88dcb fix nginx geoip 2023-08-13 02:56:41 +08:00
chn
257839b75a fix nginx http proxy 2023-08-13 02:42:24 +08:00
chn
49572a9a68 修改xray dns 2023-08-13 02:38:16 +08:00
chn
41b1dee098 enable geoip 2023-08-13 02:30:44 +08:00
chn
962cd34d66 xray lower min version 2023-08-13 01:35:00 +08:00
chn
3bbb6fb8e1 fix nginx config 2023-08-13 00:18:47 +08:00
chn
593391a894 使用 xray reality 2023-08-12 23:58:18 +08:00
chn
ee079b4251 fix nginx stream listen 2023-08-12 22:21:11 +08:00
chn
2825b0a28b fix nginx log 2023-08-12 22:11:42 +08:00
chn
a1cbd3949e xray enable fingerprint filter 2023-08-12 20:00:59 +08:00
chn
bc2f78d2e7 enable patched nginx 2023-08-12 19:13:24 +08:00
chn
c87bc53a24 add nginx httpProxy 2023-08-12 11:58:01 +08:00
chn
77cff8e03f 增加xray用户数量 2023-08-12 01:12:13 +08:00
chn
9a01ebb8dd Merge branch 'next' 2023-08-12 01:03:25 +08:00
chn
f311d441b8 fix xray stat 2023-08-12 00:58:28 +08:00
chn
ca85199c55 fix xray-stat 2023-08-12 00:25:56 +08:00
chn
fe62b6bd81 Merge branch 'main' into next 2023-08-11 16:22:45 +08:00
chn
682cf2766f correct secrets permissions 2023-08-11 15:34:57 +08:00
chn
647e9b4463 fix xray stat 2023-08-11 15:19:56 +08:00
chn
baf5c5c9e4 fix xray stat 2023-08-11 15:08:02 +08:00
chn
274aa913e8 fix xray traffic stats 2023-08-11 15:02:42 +08:00
chn
54c200539d fix xray stat 2023-08-11 14:52:39 +08:00
chn
1391870957 启用 xray stat 2023-08-11 14:45:38 +08:00
chn
9a1dbe801f xrayServer 启用统计 2023-08-11 12:52:20 +08:00
chn
a50ebef28a fix xray server 2023-08-11 02:34:52 +08:00
chn
b083924e84 xray server openai use local dns 2023-08-11 01:31:02 +08:00
chn
2a8becd0ce Merge branch 'main' into next 2023-08-10 21:22:06 +08:00
chn
b490fa1bf9 remove special dns for openai.com 2023-08-10 21:04:16 +08:00
chn
d45404966f force openai.com use forign dns 2023-08-10 20:54:31 +08:00
chn
c086db4ae7 dnsmasq log query 2023-08-10 20:47:59 +08:00
chn
5bb0f1f60d fix xray routing 2023-08-10 20:43:10 +08:00
chn
f132d8b53b xray 使用明文服务器地址 2023-08-10 20:20:17 +08:00
chn
c30e1d5e4d fix nginx permission 2023-08-10 20:06:49 +08:00
chn
725adb574c fix xray server 2023-08-10 19:55:08 +08:00
chn
e72fe79441 enable xray server for vps6 2023-08-10 19:43:28 +08:00
chn
9962a562c2 fix nginx stream config 2023-08-10 17:53:48 +08:00
chn
72a1c5c489 enabel nginx transparent proxy for vps6 2023-08-10 17:50:08 +08:00
chn
13d1cd8d2d enable smartd 2023-08-10 10:15:21 +08:00
chn
92c4780c91 fix some deprecated options 2023-08-09 22:05:51 +08:00
chn
0369abbf2a frpc always restart 2023-08-08 22:52:38 +08:00
chn
df8b686036 ssh allow x11 forwarding 2023-08-08 16:36:34 +08:00
chn
195242cbc6 enable nix-serve 2023-08-07 21:47:09 +08:00
chn
288a7ace2f fix frp tls cert 2023-08-07 21:35:23 +08:00
chn
f0be22d66a add frp 2023-08-07 21:16:49 +08:00
chn
136e7916aa snapper allow all user to read info 2023-08-04 22:25:07 +08:00
chn
c8037eb6cd try to enable acme 2023-08-04 20:25:17 +08:00
chn
d6862f47f9 do not persist /var{cache,empty,lock,run,tmp,lib/sddm} 2023-08-04 18:46:20 +08:00
chn
baf2cb60ad ssh add some options 2023-08-03 17:03:54 +08:00
chn
14ae4eb76f ssh config change 2023-08-02 18:10:22 +08:00
chn
2d9c631d84 try to enable ussh auth 2023-08-02 16:49:43 +08:00
chn
a62d8c2677 enable u2f as default 2023-08-02 15:30:20 +08:00
chn
af1a9c5a0a 暂存 2023-08-01 22:40:09 +08:00
chn
a2f21bef76 尝试启用 initrd ssh 2023-08-01 02:05:48 +08:00
chn
1e007dc182 dnsmasq use bind-dynamic 2023-07-27 23:41:04 +08:00
chn
7c6b497963 Revert "start dnsmasq after network-interfaces"
This reverts commit 3422a545f4.
2023-07-27 23:40:39 +08:00
chn
3422a545f4 start dnsmasq after network-interfaces 2023-07-27 23:36:30 +08:00
chn
dc18f6e51d 所有模块都整理完成 2023-07-27 21:50:51 +08:00
chn
d0ef102996 整理很多东西 2023-07-27 20:12:20 +08:00
chn
b12e903ec3 暂存 2023-07-27 19:32:51 +08:00
chn
3d2624284f 暂存 2023-07-27 19:01:58 +08:00
chn
77c878894d fix 2023-07-27 00:07:20 +08:00
chn
3430a00548 fix 2023-07-26 21:11:47 +08:00
chn
39eb683ee8 暂存 2023-07-26 21:05:46 +08:00
chn
2029099f45 整理一些服务 2023-07-26 17:08:32 +08:00
chn
eea2495e2f 整理字体设置 2023-07-26 17:03:09 +08:00
chn
ae1df36fe6 add kmscon (does not enable) 2023-07-26 11:24:27 +08:00
chn
d69f6effd4 整理services 2023-07-25 23:33:37 +08:00