sway: don't enable greetd by default

This commit is contained in:
2023-09-07 10:45:23 +00:00
parent d7751fb300
commit c86037e5d0

View File

@@ -161,13 +161,15 @@ 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 enable = true;
sane.gui.greetd.sway.gtkgreet = lib.mkIf cfg.useGreeter { sway.enable = true; # have greetd launch a sway compositor in which we host a greeter
sway.gtkgreet = {
enable = true; enable = true;
session.name = "sway-on-gtkgreet"; session.name = "sway-on-gtkgreet";
session.command = "${pkgs.sway}/bin/sway --debug"; session.command = "${pkgs.sway}/bin/sway --debug";
}; };
};
# unlike other DEs, sway configures no audio stack # unlike other DEs, sway configures no audio stack
# administer with pw-cli, pw-mon, pw-top commands # administer with pw-cli, pw-mon, pw-top commands