diff options
author | Christoph Cullmann <cullmann@kde.org> | 2023-10-21 21:25:14 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2023-10-21 21:25:14 +0200 |
commit | 48d7f56a3e114a6cf09c3ec77d1bda3b78e92285 (patch) | |
tree | 155c87c8b5598670946520518c7e407890535c67 /common.nix | |
parent | 18e18d85bf4f34aff38878be75dd83703d376bb2 (diff) |
use greetd console display manager
Diffstat (limited to 'common.nix')
-rw-r--r-- | common.nix | 27 |
1 files changed, 11 insertions, 16 deletions
@@ -123,25 +123,20 @@ in # allow firmware updates services.fwupd.enable = true; - # X11 settings - services.xserver = { - libinput.enable = true; - upscaleDefaultCursor = false; + # EurKey layout + services.xserver.layout = "eu"; - # Configure keymap in X11 - layout = "eu"; - xkbVariant = ""; + # enable the KDE Plasma Desktop Environment + services.xserver.desktopManager.plasma5.enable = true; - # Enable the KDE Plasma Desktop Environment. - desktopManager.plasma5.enable = true; - desktopManager.plasma5.runUsingSystemd = true; - desktopManager.plasma5.phononBackend = "vlc"; - - # use SDDM and Plasma Wayland + # greetd console display manager + services.greetd = { enable = true; - displayManager.sddm.enable = true; - displayManager.sddm.wayland.enable = true; - displayManager.defaultSession = "plasmawayland"; + settings = { + default_session = { + 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 |