feat: nb performance tweaks
This commit is contained in:
@@ -10,8 +10,6 @@ let
|
||||
|
||||
text = ''
|
||||
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
||||
systemctl --user stop pipewire pipewire-media-session xdg-desktop-portal xdg-desktop-portal-wlr
|
||||
systemctl --user start pipewire pipewire-media-session xdg-desktop-portal xdg-desktop-portal-wlr
|
||||
systemctl --user import-environment DISPLAY
|
||||
export STEAM_RUNTIME=0
|
||||
'';
|
||||
@@ -76,9 +74,11 @@ in {
|
||||
programs.sway = {
|
||||
enable = true;
|
||||
wrapperFeatures.gtk = true;
|
||||
extraOptions = [
|
||||
"--unsupported-gpu"
|
||||
];
|
||||
extraOptions = [ ];
|
||||
extraSessionCommands = ''
|
||||
export WLR_NO_HARDWARE_CURSORS=1
|
||||
export WLR_RENDERER=vulkan
|
||||
'';
|
||||
};
|
||||
|
||||
environment.etc = {
|
||||
|
||||
Reference in New Issue
Block a user