feat: Add and configure greetd
This commit is contained in:
parent
47486140c1
commit
882edd24cf
2 changed files with 20 additions and 0 deletions
|
|
@ -6,5 +6,6 @@
|
||||||
./hyprland.nix
|
./hyprland.nix
|
||||||
./shell.nix
|
./shell.nix
|
||||||
./wayland.nix
|
./wayland.nix
|
||||||
|
./greeter.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
19
modules/greeter.nix
Normal file
19
modules/greeter.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue