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

20 lines
338 B
Nix
Raw Normal View History

{ 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 --cmd sway";
user = "greeter";
};
};
};
}