3
0
Fork 0
forked from mirrors/nixpkgs

nixos/sway: Enable the display manager integration

If no display manager is enabled this will not make any difference, but
if a Wayland compatible display manager like SDDM is enabled, a session
for Sway will be available. Therefore it does make sense to enable this
by default.

This adds the display manager integration mentioned in #57602.
This commit is contained in:
Michael Weiss 2019-12-09 14:11:24 +01:00
parent 4538eeac6f
commit ca9788d4de
No known key found for this signature in database
GPG key ID: 5BE487C4D4771D83

View file

@ -87,6 +87,8 @@ in {
hardware.opengl.enable = mkDefault true;
fonts.enableDefaultFonts = mkDefault true;
programs.dconf.enable = mkDefault true;
# To make a Sway session available if a display manager like SDDM is enabled:
services.xserver.displayManager.extraSessionFilePackages = [ swayJoined ];
};
meta.maintainers = with lib.maintainers; [ gnidorah primeos colemickens ];