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:
parent
4538eeac6f
commit
ca9788d4de
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue