feat: Add and configure greetd

This commit is contained in:
EinEtwas 2024-10-16 13:56:46 +02:00
parent 47486140c1
commit 882edd24cf
2 changed files with 20 additions and 0 deletions

View file

@ -6,5 +6,6 @@
./hyprland.nix ./hyprland.nix
./shell.nix ./shell.nix
./wayland.nix ./wayland.nix
./greeter.nix
]; ];
} }

19
modules/greeter.nix Normal file
View file

@ -0,0 +1,19 @@
{ pkgs, ... }:
{
services.gnome.gnome-keyring.enable = true;
security.pam.services.greetd.enableGnomeKeyring = true;
services.greetd = {
enable = true;
settings = {
initial_session = {
command = "Hyprland";
user = "rhea";
};
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland";
user = "rhea";
};
};
};
}