Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2025-07-16 19:25:32 +02:00
parent f74e15288b
commit 18c8afb616
18 changed files with 150 additions and 147 deletions

View File

@@ -1,18 +1,17 @@
# TUIGreet is a display manager.
# Legacy, I'm now using SDDM
{ pkgs, ... }: {
{pkgs, ...}: {
services.greetd = {
enable = true;
settings = {
default_session = {
command =
"${pkgs.greetd.tuigreet}/bin/tuigreet --remember --asterisks --container-padding 2 --time --time-format '%I:%M %p | %a %h | %F' --cmd Hyprland";
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --remember --asterisks --container-padding 2 --time --time-format '%I:%M %p | %a %h | %F' --cmd Hyprland";
user = "greeter";
};
};
};
environment.systemPackages = with pkgs; [ greetd.tuigreet ];
environment.systemPackages = with pkgs; [greetd.tuigreet];
# this is a life saver.
# literally no documentation about this anywhere.
@@ -28,8 +27,4 @@
TTYVHangup = true;
TTYVTDisallocate = true;
};
# To prevent getting stuck at shutdown
systemd.extraConfig = "DefaultTimeoutStopSec=10s";
}