mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-02 07:15:55 -04:00
Revert "Add nix option to enable/disable adding to session manager"
This commit is contained in:
parent
54ea75f078
commit
dfa5949977
1 changed files with 1 additions and 5 deletions
|
|
@ -9,10 +9,6 @@ in {
|
||||||
options = {
|
options = {
|
||||||
programs.mango = {
|
programs.mango = {
|
||||||
enable = lib.mkEnableOption "mango, a wayland compositor based on dwl";
|
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 {
|
package = lib.mkOption {
|
||||||
type = lib.types.package;
|
type = lib.types.package;
|
||||||
default = self.packages.${pkgs.stdenv.hostPlatform.system}.mango;
|
default = self.packages.${pkgs.stdenv.hostPlatform.system}.mango;
|
||||||
|
|
@ -59,7 +55,7 @@ in {
|
||||||
programs.xwayland.enable = lib.mkDefault true;
|
programs.xwayland.enable = lib.mkDefault true;
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
displayManager.sessionPackages = lib.mkIf cfg.addLoginEntry [ cfg.package ];
|
displayManager.sessionPackages = [cfg.package];
|
||||||
|
|
||||||
graphical-desktop.enable = lib.mkDefault true;
|
graphical-desktop.enable = lib.mkDefault true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue