43 lines
1.1 KiB
Nix
43 lines
1.1 KiB
Nix
{ pkgs, ... }:
|
|
{
|
|
services.greetd = {
|
|
enable = true;
|
|
settings = {
|
|
default_session = {
|
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland --asterisks --remember --greeting 'Access for those who don't touch grass'";
|
|
# --remember tuigreet --time --cmd Hyprland --remember --asterisks --greeting 'Access granted for those who don't touch grass'
|
|
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;
|
|
};
|
|
|
|
programs.sway = {
|
|
enable = true;
|
|
wrapperFeatures.gtk = true;
|
|
};
|
|
# programs.swaylock = {
|
|
# enable = true;
|
|
# };
|
|
|
|
#security.pam.services.swaylock = { };
|
|
#home.pointerCursor = {
|
|
#name = "apple_cursor";
|
|
#package = pkgs.apple-cursor;
|
|
#size = 24;
|
|
#x11 = {
|
|
#enable = true;
|
|
#defaultCursor = "apple_cursor";
|
|
#};
|
|
#};
|
|
}
|