Commit Graph

965 Commits

Author SHA1 Message Date
chn
4340106787 services.beesd: adjust thread count 2023-10-01 17:33:21 +08:00
chn
f42e1df555 services.snapper: remove patch 2023-10-01 17:08:11 +08:00
chn
33b96bd46f pc: enable beesd 2023-10-01 16:25:25 +08:00
chn
33f7702330 packages: fix octave gui 2023-09-30 15:50:11 +08:00
chn
1118e86d62 services.beesd: do not deduplicate snapshots 2023-09-30 10:45:57 +08:00
chn
ca59f06646 services.beesd: disable for boot 2023-09-29 18:33:35 +08:00
chn
9eec3611d4 services.beesd: set hashTableSizeMB 2023-09-29 10:52:14 +08:00
chn
3f54c4256c services.beesd: use only one thread 2023-09-29 09:38:44 +08:00
chn
91d7ab5b8f services.beesd: lower io priority 2023-09-29 01:02:39 +08:00
chn
dcf7f8ace0 system.nix: disable auto-optimise-store 2023-09-29 00:33:31 +08:00
chn
f9a5581410 add beesd 2023-09-28 23:44:04 +08:00
chn
ceb91a8ed8 add btrfs-assistant 2023-09-28 00:41:49 +08:00
chn
093b27a225 system.networking.nebula: try to fix nebula at boot 2023-09-26 17:49:36 +08:00
chn
79cad7f58a users.yxy: add yxy_id_rsa.pub 2023-09-26 17:47:49 +08:00
chn
84ad6e3ae4 packages: prebuild unstablePackages.gcc13Stdenv 2023-09-26 13:52:38 +08:00
chn
b509fd7a51 ssh: fix hpc ls color 2023-09-25 15:46:18 +08:00
chn
469b765f99 meilisearch: add io limit 2023-09-24 20:47:46 +08:00
chn
8dc5b34cc1 packages: fix p10k instant prompt 2023-09-22 16:48:26 +08:00
chn
4f39c1a1f3 virtualisation: kvmHost: parallel shutdown 2023-09-21 15:46:58 +08:00
chn
164c5737d2 packages: zsh: p10k instant prompt set to quiet 2023-09-21 14:06:05 +08:00
chn
9fd8c2d7c6 system: impermanence: clear /home/chn/.cache 2023-09-21 00:10:52 +08:00
chn
d48beec819 system: networking: nebula: always restart 2023-09-20 16:51:46 +08:00
chn
6bf6eabaa3 meilisearch: allow to use 16G memory 2023-09-20 09:18:45 +08:00
chn
273fcbb7c5 packages: enable p10k instant prompt 2023-09-19 21:36:30 +08:00
chn
22aadba0da packages: add eigengdb 2023-09-19 19:47:42 +08:00
chn
5555396f5d vscode: add native debugger 2023-09-19 19:05:40 +08:00
chn
a215b50761 vscode: use stable version 2023-09-19 18:44:03 +08:00
chn
52fd57469e packages: update vscode 2023-09-19 18:36:49 +08:00
chn
b003a1be43 packages: add gdb 2023-09-19 16:52:49 +08:00
chn
c3901eeeb8 packages: add hdfview 2023-09-19 13:15:58 +08:00
chn
77c4a604e9 nixpkgs: enable ccache 2023-09-19 12:33:08 +08:00
chn
bfec0e24a0 nginx: externalIp allow multiple ips 2023-09-18 23:33:40 +08:00
chn
91475e40d3 security: disable u2f auth for backup key 2023-09-18 20:59:50 +08:00
chn
565b7dd6bc sshd: use key without fido2 pin 2023-09-18 20:46:49 +08:00
chn
5a2b46898d sshd: remove ca key support 2023-09-18 20:25:17 +08:00
chn
3850b9bc05 删除 docker huginn linger
太难搞了,一年之内不再搞
2023-09-18 20:02:33 +08:00
chn
fb8c3cf89d add docker 2023-09-18 19:21:04 +08:00
chn
df5be06957 users: enable linger 2023-09-18 19:08:04 +08:00
chn
894607b933 users: root: enable autoSubUidGidRange 2023-09-18 14:03:17 +08:00
chn
aec4d38497 清理,放弃使用 rootless docker 2023-09-18 14:02:05 +08:00
chn
2312a8398c temp 2023-09-18 06:47:49 +08:00
chn
2e4a542c06 system: set home-manager state version 2023-09-18 05:45:56 +08:00
chn
69c7177b73 users: minor fix 2023-09-18 05:40:04 +08:00
chn
981643af44 users: add linger option 2023-09-18 05:35:56 +08:00
chn
5f88cd5cf5 users: manually import sharedModules 2023-09-18 05:28:02 +08:00
chn
a519053c2a 整理 users 2023-09-18 05:16:38 +08:00
chn
34c0ee6ced add wine-staging 2023-09-17 18:50:42 +08:00
chn
bdc7945e71 Revert "暂存"
This reverts commit beffb2bb95.
2023-09-17 12:48:11 +08:00
chn
beffb2bb95 暂存 2023-09-17 12:48:06 +08:00
chn
f087027c6b misskey: fix mount options 2023-09-16 16:26:23 +08:00
chn
aad3849ee1 整理 frp 2023-09-16 16:01:23 +08:00
chn
f48a494e4f nginx: httpProxy add rewriteHttps option
nginx: httpProxy add locations support
vaultwarden: init
2023-09-16 15:34:27 +08:00
chn
4463cab071 nginx: fix streamProxy rewriteHttps 2023-09-16 00:22:17 +08:00
chn
286967f7fe meilisearch: remove some IO limits 2023-09-15 22:53:20 +08:00
chn
a21d4258f2 nginx: fix resolver 2023-09-15 21:21:33 +08:00
chn
4387adde3f nginx: add streamProxy
vps6: enable nginx streamProxy
2023-09-15 20:59:18 +08:00
chn
9efc93db49 nas: add user zem, yjq, yxy 2023-09-14 19:11:33 +08:00
chn
2130ded160 nas: enable user xll 2023-09-14 18:50:03 +08:00
chn
d51a8177d6 sshd: allow password authentication 2023-09-14 18:38:10 +08:00
chn
0eb722dab1 整理samba 2023-09-13 23:52:49 +08:00
chn
25995e7dd8 fix permission 2023-09-13 23:32:10 +08:00
chn
da1a328165 users: fix home-manager for xll 2023-09-13 22:27:40 +08:00
chn
040352d30a groupshare: fix permissions 2023-09-13 22:21:16 +08:00
chn
544b071081 fix 2023-09-13 21:21:13 +08:00
chn
f5ff5c3a9e xrdp: allow multiple hostnames 2023-09-13 21:19:08 +08:00
chn
9847e21bff acme: allow multiple domains 2023-09-13 21:13:13 +08:00
chn
ef7fe907a6 chn: nas use office.chn.moe 2023-09-13 19:05:16 +08:00
chn
eccdd913ed fileSystems: disable acl for vfat 2023-09-13 13:27:35 +08:00
chn
1e631be14d nebula: fix firewall rules, allow relay 2023-09-13 10:23:00 +08:00
chn
01213d9eff nebula: use relay 2023-09-13 02:12:52 +08:00
chn
b8dcfa0fd6 groupshare: fix 2023-09-13 02:12:41 +08:00
chn
53be0e13c4 add groupshare (currently not working) 2023-09-12 23:08:35 +08:00
chn
716a4cbfcf fileSystems: set all file systems to neededForBoot 2023-09-12 21:37:47 +08:00
chn
a1e0e17543 disable baloo for all user 2023-09-12 20:52:41 +08:00
chn
128ce69ce3 nas: enable nebula 2023-09-12 16:38:14 +08:00
chn
58e862661f 整理 users 2023-09-12 16:31:20 +08:00
chn
84effe92c6 nebula: bypass xray client transparent proxy 2023-09-12 12:27:22 +08:00
chn
f5ae7b00f9 add vlc 2023-09-11 20:33:49 +08:00
chn
6215e59f74 workstation: add gcc13Stdenv to prebuildPackages 2023-09-10 22:58:24 +08:00
chn
eef8b0f312 set gcc flags for unstablePackages 2023-09-10 16:40:19 +08:00
chn
0fc95d4abf ssh: fix authorized_keys 2023-09-10 15:31:39 +08:00
chn
32712534e4 set nas ip 2023-09-10 15:26:34 +08:00
chn
eba953b7ad waydroid use unstablePackages 2023-09-10 14:35:08 +08:00
chn
77b8330ed5 Revert "nixpkgs: use generic haskellPackages"
This reverts commit fd13864f48.
2023-09-10 01:51:40 +08:00
chn
fd13864f48 nixpkgs: use generic haskellPackages 2023-09-10 00:31:00 +08:00
chn
b4792327e6 Revert "nixpkgs: use generic pandoc"
This reverts commit 558a61a0f1.
2023-09-10 00:26:51 +08:00
chn
558a61a0f1 nixpkgs: use generic pandoc 2023-09-10 00:23:53 +08:00
chn
87db616f7e add krita 2023-09-09 21:38:53 +08:00
chn
96271f7ac6 fileSystems: fix mdadm 2023-09-09 21:22:56 +08:00
chn
bc9c2a45d4 pc 基本上编译通过 2023-09-09 14:15:57 +08:00
chn
40dec0e342 Merge branch 'main' into stable 2023-09-09 11:11:53 +08:00
chn
812d646adc systemd: fix coredump 2023-09-09 00:40:39 +08:00
chn
2615ed6437 暂存 2023-09-08 05:49:52 +08:00
chn
7c674ebbf9 update everything 2023-09-07 11:43:05 +08:00
chn
6d1266b2b4 restart misskey everyday 2023-09-07 03:58:02 +08:00
chn
b402bff18b add v_sim 2023-09-06 20:04:23 +08:00
chn
6aca2d605d update cjktty 2023-09-06 16:50:31 +08:00
chn
42879f22cb add bundix 2023-09-06 16:44:55 +08:00
chn
04bf86f89e kernel: update 2023-09-06 13:06:02 +08:00
chn
12705172fb Revert "disable nix-ld"
This reverts commit c146f56df5.
2023-09-06 01:43:16 +08:00
chn
c146f56df5 disable nix-ld 2023-09-06 01:22:42 +08:00
chn
c5a9da5a4b add openbox 2023-09-06 00:19:19 +08:00
chn
63ee2ce5d9 slack: use stablePackages 2023-09-06 00:18:50 +08:00
chn
ed7d9b1fb7 meilisearch: limit io 2023-09-05 22:54:40 +08:00
chn
8bf884e09c Revert "use xorg as default session"
This reverts commit 4a93baf5de.
2023-09-05 21:00:23 +08:00
chn
0ede3816f5 intel: allow to use modesetting driver 2023-09-05 20:57:55 +08:00
chn
71681f75ec xrdp: fix 2023-09-05 20:10:46 +08:00
chn
4fb686af8a i915: try to no use modesetting driver 2023-09-05 20:08:27 +08:00
chn
244e690908 xrdp: fix ssl group 2023-09-05 19:47:57 +08:00
chn
7aebf47beb add xrdp 2023-09-05 17:17:43 +08:00
chn
14adcecc06 pc: enable misskey
add genymotion
2023-09-05 13:37:35 +08:00
chn
ff5c9b6701 add cage 2023-09-05 10:47:58 +08:00
chn
b79e06f52a add weston 2023-09-05 10:17:11 +08:00
chn
4a93baf5de use xorg as default session 2023-09-05 01:51:39 +08:00
chn
d8dd5d7034 remove variable NIXOS_OZONE_WL 2023-09-05 01:42:03 +08:00
chn
1171f8d2b0 fix obs-studio 2023-09-05 01:31:27 +08:00
chn
86e2c18d70 add slack 2023-09-05 00:30:10 +08:00
chn
eaaf70ffc8 xray: proxy zoom 2023-09-05 00:16:30 +08:00
chn
9fcc05fc22 add vaspkit 2023-09-04 23:23:46 +08:00
chn
b218ac50b1 workstation: add vasp and phonon-unfolding 2023-09-03 22:48:20 +08:00
chn
d7e5e5aba9 nixpks: add option oneapiArch
nomacs: fix build with cuda
vasp: add vasp
phonon-unfolding: add phonon-unfolding
2023-09-03 22:46:18 +08:00
chn
2a2654ae2b nixpkgs: add cudaSupport 2023-09-03 17:17:10 +08:00
chn
267279bc81 misskey: use nebula to proxy 2023-09-03 16:53:56 +08:00
chn
203fc9cffd synapse: use nebula to proxy 2023-09-03 16:36:28 +08:00
chn
1a8b47032f nebula: add nebula.nebula to trustedInterfaces 2023-09-03 16:10:12 +08:00
chn
3671fde36b vps7: enable nebula 2023-09-03 14:37:38 +08:00
chn
ac9a792095 impermanence: enable nodatacow by default
impermanence: persist /var/backup
2023-09-03 14:23:43 +08:00
chn
99043047db move nebula to system.networking 2023-09-02 22:28:51 +08:00
chn
7e15a7f3b3 move sops to system 2023-09-02 22:11:08 +08:00
chn
4483e28dfe 整理 system.security 2023-09-02 21:47:12 +08:00
chn
289ed2fb27 整理 systemd.security 2023-09-02 21:39:01 +08:00
chn
438d1181ff 整理 system.networking 2023-09-02 21:33:09 +08:00
chn
b2ccf88adc 整理 system.nixpkgs 2023-09-02 21:21:29 +08:00
chn
6305555760 整理 system.gui 2023-09-02 21:03:23 +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
e6969fb0c2 整理 system.kernel 2023-09-02 15:25:05 +08:00
chn
e1e88dfdba 整理 system.initrd 2023-09-02 15:07:16 +08:00
chn
72571d5d88 整理 system.grub 2023-09-02 14:54:37 +08:00
chn
0a7e808b6c 整理 system.fileSystems 2023-09-02 14:21:27 +08:00
chn
2d5397b0f1 整理 system.nix 2023-09-02 14:04:03 +08:00
chn
0115d96f11 add todo 2023-09-02 00:00:48 +08:00
chn
15ca93ada1 Revert "分离 nix 配置"
This reverts commit 9ff5212fe7.
2023-09-01 23:49:45 +08:00
chn
9ff5212fe7 分离 nix 配置 2023-09-01 23:44:51 +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
0d46532922 add dguibert-nur-packages (nvhpc) 2023-09-01 14:37:51 +08:00
chn
9902ce82f8 add fake packages to build system
nix registry nixos-config to nixos
2023-09-01 02:09:16 +08:00
chn
c407e6c56c 打包,打个屁,人家都已经写好了 2023-09-01 01:54:15 +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
82c5d9c087 packages: add libfido2 to udev.packages 2023-08-31 16:38:09 +08:00
chn
b9ed4609f8 add yubico-piv-tool 2023-08-31 16:23:47 +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
ea87dbff76 change default locale 2023-08-30 00:55:48 +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
af1b40b0f6 packages: add nix-tree 2023-08-29 15:50:31 +08:00
chn
86a4f05bc1 packages: move python to server 2023-08-29 11:23:48 +08:00
chn
8a55ead16c packages: add some python packages 2023-08-29 11:11:57 +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
d5a64fa9d3 chromium: use stable version 2023-08-29 00:50:57 +08:00
chn
fb8d4e4b89 meilisearch: increase max_indexing_memory 2023-08-28 11:07:22 +08:00
chn
be5961d156 kernel add broadwell support 2023-08-28 01:10:23 +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