2024-09-30 00:09:33 -07:00
|
|
|
{ pkgs, ... }:
|
2024-09-17 23:21:29 -07:00
|
|
|
{
|
2024-09-30 00:09:33 -07:00
|
|
|
services.greetd = {
|
2024-09-17 23:21:29 -07:00
|
|
|
enable = true;
|
2024-09-30 00:09:33 -07:00
|
|
|
settings = {
|
|
|
|
default_session = {
|
|
|
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland --remember --greeting '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;
|
2024-09-17 23:21:29 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
programs.sway = {
|
|
|
|
enable = true;
|
|
|
|
wrapperFeatures.gtk = true;
|
|
|
|
};
|
|
|
|
}
|