NixOS-Configuration/common/login-manager/tuigreet.nix
2024-04-15 21:08:45 -06:00

20 lines
451 B
Nix

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