2024-10-13 12:54:12 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
services.greetd = {
|
|
|
|
enable = true;
|
|
|
|
settings = rec {
|
|
|
|
initial_session = {
|
|
|
|
command = "${lib.getExe pkgs.greetd.tuigreet} \
|
|
|
|
--time \
|
|
|
|
--asterisks \
|
|
|
|
--user-menu \
|
|
|
|
--cmd ${lib.getExe config.programs.niri.package} --session";
|
|
|
|
user = "greeter";
|
|
|
|
};
|
|
|
|
default_session = initial_session;
|
|
|
|
};
|
|
|
|
};
|
2024-10-14 15:23:01 +00:00
|
|
|
|
2024-10-14 21:19:01 +00:00
|
|
|
security.pam.services.login.enableGnomeKeyring = true;
|
|
|
|
security.pam.services.greetd.enableGnomeKeyring = true;
|
2024-10-13 12:54:12 +00:00
|
|
|
}
|