nix

configuration files that power my machines
Log | Files | Refs | README | LICENSE

commit ec23ebad5bf5294ef9b0c8ea73979e67a3e137b7
parent 645f20628bef1d161759640199872272ac14fc58
Author: mtmn <miro@haravara.org>
Date:   Sun,  3 May 2026 23:47:14 +0200

river: link nix drivers before startup

Diffstat:
Mhosts/void/overlays/config/shell/rc/void | 0
Mmodules/mixins/dotfiles/bin/rinit | 5+++++
2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/hosts/void/overlays/config/shell/rc/void b/hosts/void/overlays/config/shell/rc/void Binary files differ. diff --git a/modules/mixins/dotfiles/bin/rinit b/modules/mixins/dotfiles/bin/rinit @@ -3,4 +3,9 @@ export XDG_CURRENT_DESKTOP=river export XDG_SESSION_TYPE=wayland keychain --eval --ssh-agent-socket "$XDG_RUNTIME_DIR/ssh-agent.socket" + +[ -e /run/opengl-driver ] || sudo ln -sfn \ + "$(grep -o '/nix/store/[^ ]*' /nix/store/*-non-nixos-gpu/lib/systemd/system/non-nixos-gpu.service)" \ + /run/opengl-driver + dbus-run-session -- river 2>&1 | vlogger -t river-classic