bash <(curl -L https://raw.githubusercontent.com/lherman-cs/dev/master/install.sh)
nix profile install . --name dev
nix profile upgrade dev
nix flake lock --update-input nixpkgs --update-input nix
## dev log
Constraints:
* Rows: 100k
* Process Time: <100ms
## Move nix to external
https://discourse.nixos.org/t/how-to-move-nix-store-to-external-drive-on-macos/19592/3
https://github.com/neovim/nvim-lspconfig/blob/master/CONFIG.md
Some issues with NVIM LSP:
- Kotlin LSP ignores hardcoded patterns, fwcd/kotlin-language-server#464
- workaround
ln -s build generated
- workaround
Edit ~/.ssh/config:
Host personal
HostName github.com
User git
IdentityFile ~/.ssh/personal
IdentitiesOnly yes
https://webinstall.dev/nerdfont/
sudo pmset -a disablesleep 1
gsettings set org.gnome.desktop.notifications show-banners false
cargo install alacritty
sudo mv ~/.cargo/bin/alacritty /usr/bin/alacritty
gsettings set org.gnome.desktop.default-applications.terminal exec /usr/bin/alacritty
gsettings set org.gnome.desktop.default-applications.terminal exec-arg "--working-directory"
Text mode: sudo systemctl isolate multi-user.target
Graphical mode: sudo systemctl isolate graphical.target
Disable sleep: systemctl mask sleep.target suspend.target
Enable sleep: systemctl unmask sleep.target suspend.target
https://pipewire-debian.github.io/pipewire-debian/
https://linuxhint.com/monitor-network-traffic-with-vnstat-on-ubuntu-20-04/
https://launchpad.net/~solaar-unifying/+archive/ubuntu/stable
https://askubuntu.com/questions/1105332/external-monitor-not-working-ubuntu-nvidia/1134579#1134579
MOZ_DISABLE_RDD_SANDBOX=1 firefox-esr
CHROMIUM_FLAGS="--use-gl=egl" chromium-browser
The environment variable is needed to tell firefox to bypass the security check, so it can use the system's ffmpeg. https://forum.radxa.com/t/archlinux-on-rock5b/13851
Updating firefox to the latest version without snap on Ubuntu 22.04 improves webgl, https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04
Download pre-compiled MoltenVK from https://github.com/KhronosGroup/MoltenVK/releases.
Then, copy the library to the following:
/Users/lukas/Library/Application Support/Steam/steamapps/common/dota 2 beta/game/bin/osx64/libMoltenVK.dylib
Go to activity monitor -> Window -> Gpu/Cpu history