use greetd console display manager

This commit is contained in:
Christoph Cullmann 2023-10-21 21:25:14 +02:00
parent 18e18d85bf
commit 48d7f56a3e

View file

@ -123,25 +123,20 @@ in
# allow firmware updates # allow firmware updates
services.fwupd.enable = true; services.fwupd.enable = true;
# X11 settings # EurKey layout
services.xserver = { services.xserver.layout = "eu";
libinput.enable = true;
upscaleDefaultCursor = false;
# Configure keymap in X11 # enable the KDE Plasma Desktop Environment
layout = "eu"; services.xserver.desktopManager.plasma5.enable = true;
xkbVariant = "";
# Enable the KDE Plasma Desktop Environment. # greetd console display manager
desktopManager.plasma5.enable = true; services.greetd = {
desktopManager.plasma5.runUsingSystemd = true;
desktopManager.plasma5.phononBackend = "vlc";
# use SDDM and Plasma Wayland
enable = true; enable = true;
displayManager.sddm.enable = true; settings = {
displayManager.sddm.wayland.enable = true; default_session = {
displayManager.defaultSession = "plasmawayland"; command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd '${pkgs.plasma-workspace}/libexec/plasma-dbus-run-session-if-needed ${pkgs.plasma-workspace}/bin/startplasma-wayland'";
};
};
}; };
# enable sound with PipeWire # enable sound with PipeWire