sway: don't enable greetd by default
This commit is contained in:
@@ -161,12 +161,14 @@ in
|
|||||||
# swap in these lines to use SDDM instead of `services.greetd`.
|
# swap in these lines to use SDDM instead of `services.greetd`.
|
||||||
# services.xserver.displayManager.sddm.enable = true;
|
# services.xserver.displayManager.sddm.enable = true;
|
||||||
# services.xserver.enable = true;
|
# services.xserver.enable = true;
|
||||||
sane.gui.greetd.enable = true;
|
sane.gui.greetd = lib.mkIf cfg.useGreeter {
|
||||||
sane.gui.greetd.sway.enable = true; # have greetd launch a sway compositor in which we host a greeter
|
|
||||||
sane.gui.greetd.sway.gtkgreet = lib.mkIf cfg.useGreeter {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
session.name = "sway-on-gtkgreet";
|
sway.enable = true; # have greetd launch a sway compositor in which we host a greeter
|
||||||
session.command = "${pkgs.sway}/bin/sway --debug";
|
sway.gtkgreet = {
|
||||||
|
enable = true;
|
||||||
|
session.name = "sway-on-gtkgreet";
|
||||||
|
session.command = "${pkgs.sway}/bin/sway --debug";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# unlike other DEs, sway configures no audio stack
|
# unlike other DEs, sway configures no audio stack
|
||||||
|
Reference in New Issue
Block a user