nix run --no-write-lock-file github:nix-community/home-manager/ -- --flake ".#$USER" switch
home-manager switch --flake .
nix shell nixpkgs\#git
nix clone https://github.com/Pablo1107/dotfiles
nix run nix-darwin --extra-experimental-features nix-command --extra-experimental-features flakes -- switch --flake .
darwin-rebuild switch --flake .
nix --extra-experimental-features nix-command shell --extra-experimental-features flakes nixpkgs#git
ssh-keygen
git clone https://github.com/Pablo1107/dotfiles
nix-on-droid switch --flake ".#sm-g950f"
sudo pacman -S qemu-user-static qemu-user-static-binfmt
nix build .#nixosConfigurations.rpi.config.system.build.sdImage
rm -rf run-rpi-vm && cp result/bin/run-rpi-vm . && sed -i "s/[^ ]*qemu-host-cpu-only[^ ]*/$(which qemu-system-aarch64 | sed 's/\//\\\//g')/" run-rpi-vm && ./run-rpi-vm -serial stdio
nixos-rebuild switch --flake .#server --target-host "root@nixos.local"
nix flake init -t ~/dotfiles\#template
error: unsupported tarball input attribute 'lastModified'
jq '.nodes |= map_values(if .locked.type? == "tarball" then .locked |= del(.lastModified) else . end)' flake.lock > flake.lock.newnix-community/home-manager#4692
First you have to run this command after installing SteamVR:
sudo setcap CAP_SYS_NICE+ep ~/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrcompositor-launcher
Then add this as launch option in SteamVR settings:
QT_QPA_PLATFORM=xcb __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 VK_DRIVER_FILES=/run/opengl-driver/share/vulkan/icd.d/nvidia_icd.x86_64.json /home/pablo/.local/share/Steam/steamapps/common/SteamVR/bin/vrmonitor.sh %command%
And this for every VR game you want to launch through Steam:
QT_QPA_PLATFORM=xcb __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 VK_DRIVER_FILES=/run/opengl-driver/share/vulkan/icd.d/nvidia_icd.x86_64.json %command%
Note the additional QT_QPA_PLATFORM=xcb at the beginning, apart from what ALVR recommends.
Also note the VK_DRIVER_FILES path may vary depending on the nvidia version you have installed.
env PRESSURE_VESSEL_IMPORT_OPENXR_1_RUNTIMES=1 %command% -novid

