Switch to greetd to fix the service crisis
This commit is contained in:
parent
bbe92e5cd7
commit
fbec76baa7
9 changed files with 31 additions and 19 deletions
|
@ -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 = {};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue