From aaf7e73c2768e2719d16bf79b33fa86e5cb45a73 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Wed, 18 Feb 2026 09:08:26 -0800 Subject: [PATCH] Fix sway on NVIDIA proprietary drivers Sway/wlroots refuses to start on proprietary NVIDIA by default. Add --unsupported-gpu flag and disable hardware cursors. Co-Authored-By: Claude Opus 4.6 --- nixos/ringtail/configuration.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/ringtail/configuration.nix b/nixos/ringtail/configuration.nix index a2fcbaf..9956c2b 100644 --- a/nixos/ringtail/configuration.nix +++ b/nixos/ringtail/configuration.nix @@ -32,6 +32,9 @@ programs.sway = { enable = true; wrapperFeatures.gtk = true; + extraSessionCommands = '' + export WLR_NO_HARDWARE_CURSORS=1 + ''; extraPackages = with pkgs; [ swaylock swayidle @@ -49,7 +52,7 @@ enable = true; settings = { default_session = { - command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd sway"; + command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd 'sway --unsupported-gpu'"; user = "greeter"; }; };