2024-08-16 06:42:35 -07:00
|
|
|
{pkgs, ...}: {
|
2024-08-09 02:09:01 -07:00
|
|
|
services.greetd = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
default_session = {
|
|
|
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland --remember --greeting 'Welcome to liminalOS. Access is restricted to authorized personnel only.'";
|
|
|
|
user = "greeter";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|