Move strawberry sway hacks to its home.nix
This commit is contained in:
parent
571e1daa82
commit
3cef5b6f97
2 changed files with 10 additions and 6 deletions
|
@ -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 = ''
|
||||
|
|
|
@ -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" ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue