Merge branch 'mangowm:main' into main

This commit is contained in:
Ananya 2026-03-01 13:52:41 +01:00 committed by GitHub
commit 5396ec13c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 46 additions and 50 deletions

View file

@ -9,10 +9,6 @@ in {
options = {
programs.mango = {
enable = lib.mkEnableOption "mango, a wayland compositor based on dwl";
addLoginEntry = lib.mkEnableOption {
default = true;
description = "Whether to add a login entry to the display manager for mango";
};
package = lib.mkOption {
type = lib.types.package;
default = self.packages.${pkgs.stdenv.hostPlatform.system}.mango;
@ -59,7 +55,7 @@ in {
programs.xwayland.enable = lib.mkDefault true;
services = {
displayManager.sessionPackages = lib.mkIf cfg.addLoginEntry [ cfg.package ];
displayManager.sessionPackages = [cfg.package];
graphical-desktop.enable = lib.mkDefault true;
};