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