feat: nb performance tweaks

This commit is contained in:
2025-10-15 11:39:29 +02:00
parent df6465fa8a
commit 356c049aaf
4 changed files with 22 additions and 12 deletions

View File

@@ -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 = {