Files
dotfiles/system-modules/dm.nix
Lennart J. Kurzweg (Nx2) 104d1334df huge cleanup
2024-11-09 19:48:52 +01:00

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;
};
}