25 lines
650 B
Nix
Executable File
25 lines
650 B
Nix
Executable File
{ pkgs, user, ... }:
|
|
{
|
|
services.greetd = {
|
|
enable = true;
|
|
settings = rec {
|
|
hyprland = {
|
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --remember --cmd Hyprland --remember-user-session --window-padding 5";
|
|
user = user;
|
|
};
|
|
default_session = hyprland;
|
|
vt = 2;
|
|
};
|
|
};
|
|
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;
|
|
};
|
|
}
|