nixos-config/todo.md

51 lines
1.5 KiB
Markdown
Raw Normal View History

2019-09-18 02:23:45 +04:00
# TODO
2020-08-11 02:38:02 +04:00
* config qbittorrent
2020-08-15 19:36:16 +04:00
* telegram theme
2023-04-25 17:32:17 +03:00
* use theme engine from https://github.com/SenchoPens/base16.nix (?)
* fix waybar config
* Firejail all the things (maybe not...)
2023-03-27 20:57:06 +03:00
* change writeShellScript and writeShellScriptBin to writeShellApplication
* add asserts to autoinstall module
2023-04-25 17:32:17 +03:00
* fix mime, fix aria2
2023-03-27 20:57:06 +03:00
* add updateScript to my packages
* move overlay and packages to root folder
2023-04-25 17:32:17 +03:00
* Change all 'latest' tags in docker container to digest: "statping/statping@sha256:aaaaa"
* or add cmd to all containers: "--pull=newer"
* fix global hotkeys for obs (use hyprland pass dispatcher)
2022-12-07 22:05:00 +03:00
## Tips:
* Copy sparse files
```bash
2023-03-27 20:57:06 +03:00
dd if=$1 of=$2 iflag=direct oflag=direct bs=64K conv=sparse
2022-12-07 22:05:00 +03:00
```
* swap on zfs zvol (on encrypted dataset only!)
```bash
zfs create -V 2G -b $(getconf PAGESIZE) -o logbias=throughput -o sync=always -o primarycache=metadata -o secondarycache=none -o com.sun:auto-snapshot=false -o compression=zle zroot/enc/swap
2023-07-26 21:21:48 +03:00
```
* disable offloading
```bash
ethtool --offload eth0 rx off tx off
2023-11-22 06:21:31 +03:00
```
```bash
eval "$(echo "gamemoderun mangohud %command%" | sed 's|BeamNG.drive.exe|BinLinux/BeamNG.drive.x64|g')" 2>&1 | tee $HOME/beamng.log
```
* reality url
vless://{uuid}@{server_ip}:{server_port}?encryption=none&flow=xtls-rprx-vision&security=reality&sni={domain}&fp=chrome&pbk={pubkey}&sid={short_id}&type=tcp&headerType=none#SING-BOX-TCP
* sops keys
```bash
ssh-to-pgp -i $HOME/.ssh/id_rsa -o ~/nixos-config/keys/users/ataraxia.asc
ssh root@ip "cat /etc/ssh/ssh_host_rsa_key" | ssh-to-pgp -o ~/nixos-config/keys/hosts/hostname.asc
2022-12-07 22:05:00 +03:00
```