(aurum/services) enable tuigreetd

This commit is contained in:
Laureηt 2024-03-31 16:24:06 +02:00
parent ff34bbe896
commit 89210287bc
Signed by: Laurent
SSH key fingerprint: SHA256:pb5NrYg80So5z9hmqQFPmp//sgr+DFeJkKhmGyU2NLk
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,5 @@
{...}: {
imports = [
./greetd
];
}

View file

@ -0,0 +1,18 @@
{
inputs,
pkgs,
...
}: let
hyprland = inputs.hyprland.packages."${pkgs.system}".hyprland;
in {
services.greetd = {
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd ${hyprland}/bin/Hyprland";
user = "greeter";
};
};
};
}