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 = {
|
2024-10-02 09:03:26 -07:00
|
|
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd sway --remember --greeting 'Access is restricted to authorized personnel only.'";
|
2024-09-30 00:09:33 -07:00
|
|
|
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;
|
|
|
|
};
|
2024-10-12 14:44:51 -07:00
|
|
|
|
2024-10-19 16:37:01 -07:00
|
|
|
#home.pointerCursor = {
|
|
|
|
#name = "apple_cursor";
|
|
|
|
#package = pkgs.apple-cursor;
|
|
|
|
#size = 24;
|
|
|
|
#x11 = {
|
|
|
|
#enable = true;
|
|
|
|
#defaultCursor = "apple_cursor";
|
|
|
|
#};
|
|
|
|
#};
|
2024-09-17 23:21:29 -07:00
|
|
|
}
|