nixos-config/greetd.nix

20 lines
343 B
Nix
Raw Normal View History

2023-09-24 19:56:38 +00:00
{ config, pkgs, ... }:
{
services.greetd = {
enable = true;
settings = {
default_session.command = ''
${pkgs.greetd.tuigreet}/bin/tuigreet \
--time \
--asterisks \
--user-menu \
--cmd sway
'';
};
};
environment.etc."greetd/environments".text = ''
sway
'';
}