We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 243848f + 008cb97 commit 8c8d802Copy full SHA for 8c8d802
1 file changed
nix/nixos-modules.nix
@@ -9,10 +9,6 @@ in {
9
options = {
10
programs.mango = {
11
enable = lib.mkEnableOption "mango, a wayland compositor based on dwl";
12
- addLoginEntry = lib.mkEnableOption {
13
- default = true;
14
- description = "Whether to add a login entry to the display manager for mango";
15
- };
16
package = lib.mkOption {
17
type = lib.types.package;
18
default = self.packages.${pkgs.stdenv.hostPlatform.system}.mango;
@@ -59,7 +55,7 @@ in {
59
55
programs.xwayland.enable = lib.mkDefault true;
60
56
61
57
services = {
62
- displayManager.sessionPackages = lib.mkIf cfg.addLoginEntry [ cfg.package ];
58
+ displayManager.sessionPackages = [cfg.package];
63
64
graphical-desktop.enable = lib.mkDefault true;
65
};
0 commit comments