commit 21ab07a1f5048bd9e88fd50614a34ad2a31c2a6e parent 89aadd2565bc38043e4722418b81bd12de77afd3 Author: mtmn <miro@haravara.org> Date: Mon, 11 May 2026 23:18:28 +0200 fix: always pick the first non-nixos-gpu store Diffstat:
| M | modules/mixins/dotfiles/bin/rinit | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/mixins/dotfiles/bin/rinit b/modules/mixins/dotfiles/bin/rinit @@ -3,7 +3,7 @@ export XDG_CURRENT_DESKTOP=river export XDG_SESSION_TYPE=wayland [ -e /run/opengl-driver ] || sudo ln -sfn \ - "$(grep -o '/nix/store/[^ ]*' /nix/store/*-non-nixos-gpu/lib/tmpfiles.d/non-nixos-gpu.conf)" \ + "$(grep -oh '/nix/store/[^ ]*' /nix/store/*-non-nixos-gpu/lib/tmpfiles.d/non-nixos-gpu.conf | head -1)" \ /run/opengl-driver keychain --eval --ssh-agent-socket "$XDG_RUNTIME_DIR/ssh-agent.socket"