diff --git a/shared/home/gui/sway.nix b/shared/home/gui/sway.nix index 20a9ef9..eb9c726 100644 --- a/shared/home/gui/sway.nix +++ b/shared/home/gui/sway.nix @@ -53,12 +53,6 @@ in with lib; { # This is all required to get it to not die. enable = true; wrapperFeatures.gtk = true; - extraSessionCommands = '' - #export WLR_NO_HARDWARE_CURSORS=1; - #export WLR_RENDERER=vulkan; - #export WLR_EGL_NO_MODIFIERS=1; - ''; - #extraOptions = [ "--unsupported-gpu" ]; systemdIntegration = true; extraConfig = '' diff --git a/system/strawberry/home.nix b/system/strawberry/home.nix index 5705ff7..fdb86bf 100644 --- a/system/strawberry/home.nix +++ b/system/strawberry/home.nix @@ -7,4 +7,14 @@ network.eth = "enp9s0"; }; }; + + # Due to Hardware :tm: this is needed to get sway to not crash + wayland.windowManager.sway = { + extraSessionCommands = '' + export WLR_NO_HARDWARE_CURSORS=1; + export WLR_RENDERER=vulkan; + export WLR_EGL_NO_MODIFIERS=1; + ''; + extraOptions = [ "--unsupported-gpu" ]; + }; } \ No newline at end of file