NixOS-Configuration/common/login-manager/tuigreet.nix

20 lines
451 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
{
login-manager = "tuigreet";
environment.systemPackages = (with pkgs; [
greetd.tuigreet
]);
services.greetd = {
enable = true;
settings = {
default_session = {
2024-04-16 03:08:45 +00:00
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --remember --remember-user-session --sessions ${config.services.displayManager.sessionData.desktops}/share/wayland-sessions";
user = "greeter";
};
};
};
}