From d6fa8fc2bd26a20b0014d50da9a3ab4d4a0223d3 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Mon, 1 Apr 2024 22:48:09 -0400 Subject: [PATCH] hyprland: switched to greetd with tuigreet --- .../desktopConfig/windowManagers/hyprland/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/nixosModules/desktopConfig/windowManagers/hyprland/default.nix b/nixosModules/desktopConfig/windowManagers/hyprland/default.nix index ca817c74..92820221 100644 --- a/nixosModules/desktopConfig/windowManagers/hyprland/default.nix +++ b/nixosModules/desktopConfig/windowManagers/hyprland/default.nix @@ -7,7 +7,16 @@ config = lib.mkIf config.desktopConfig.windowManagers.hyprland.enable { - desktopConfig.displayManagers.lightdm.enable = lib.mkDefault true; + desktopConfig.displayManagers.lightdm.enable = lib.mkDefault false; + + services.greetd = { + enable = true; + settings = rec { + default_session = { + command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland"; + }; + }; + }; programs.hyprland.enable = true; programs.hyprland.package =