Regenerated

This commit is contained in:
2026-03-24 12:04:15 +00:00
parent 096432e44e
commit 66ab9dd535
23 changed files with 27 additions and 838 deletions
+27 -26
View File
@@ -926,33 +926,34 @@ This sets up tuigreeter which is not fancy but imo fits the aesthetic I am aimin
let
username = config.defaultUser or "henrov";
in
{
#################################
# Install tuigreet
#################################
environment.systemPackages = [ pkgs.tuigreet ];
#################################
# Greetd (simple + reliable)
#################################
services.greetd = {
enable = true;
settings.default_session = {
user = "greeter";
command = ''
${pkgs.tuigreet}/bin/tuigreet \
--remember \
--time \
--time-format "%I:%M %p | %a %h | %F" \
-- cmd start-hyprland
# --cmd ${pkgs.hyprland}/bin/Hyprland
'';
tuigreet = "${pkgs.tuigreet}/bin/tuigreet";
hyprland-session = "${pkgs.hyprland}/share/wayland-sessions";
in {
services.greetd = {
enable = true;
settings = {
default_session = {
command = "${tuigreet} --time --remember --remember-session --sessions ${hyprland-session}";
user = "greeter";
};
};
};
};
}
# this is a life saver.
# literally no documentation about this anywhere.
# might be good to write about this...
# https://www.reddit.com/r/NixOS/comments/u0cdpi/tuigreet_with_xmonad_how/
systemd.services.greetd.serviceConfig = {
Type = "idle";
StandardInput = "tty";
StandardOutput = "tty";
StandardError = "journal"; # Without this errors will spam on screen
# Without these bootlogs will spam on screen
TTYReset = true;
TTYVHangup = true;
TTYVTDisallocate = true;
};
}
#+END_SRC
* generated/users