Switch to greetd to fix the service crisis

This commit is contained in:
Bun 2025-05-06 08:23:30 -04:00
parent bbe92e5cd7
commit fbec76baa7
9 changed files with 31 additions and 19 deletions

View file

@ -4,11 +4,13 @@
programs.sway = {
enable = true;
extraOptions = [ "--unsupported-gpu" ];
extraSessionCommands = ''
export ELECTRON_OZONE_PLATFORM_HINT=wayland
export WLR_RENDERER=vulkan
'';
wrapperFeatures.gtk = true;
};
environment.sessionVariables.WLR_RENDERER = "vulkan";
services.dbus.enable = true;
security.pam.services.swaylock = {};
};