From f315c50eef84376c84b4fcabacbb7dcff1e442e5 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sun, 4 Aug 2024 03:03:00 +0400 Subject: [PATCH] attempt two i guess --- modules/desktop/hyprland/default.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/modules/desktop/hyprland/default.nix b/modules/desktop/hyprland/default.nix index 3dc10ebc..87b65fb6 100644 --- a/modules/desktop/hyprland/default.nix +++ b/modules/desktop/hyprland/default.nix @@ -9,11 +9,17 @@ in config = lib.mkIf cfg.enable { - services.greetd = { - enable = true; + services.greetd = { + enable = true; + settings = { + default_session = { + command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --time-format '%I:%M %p | %a • %h | %F' --cmd Hyprland"; + user = "greeter"; + }; }; + }; - services.xserver = { + services.xserver = { enable = true; # displayManager = { # # lightdm = { @@ -76,6 +82,7 @@ in ags brightnessctl inotify-tools + greetd.tuigreet ]; programs.hyprland = {