️ (silicium/services) use the right hyprland package (from the flake) inside greetd settings

This commit is contained in:
Laureηt 2024-03-31 16:25:41 +02:00
parent d5cfe44229
commit eeaf3a0bf0
Signed by: Laurent
SSH key fingerprint: SHA256:pb5NrYg80So5z9hmqQFPmp//sgr+DFeJkKhmGyU2NLk

View file

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