greetd, hyprland: fix greeter and lock screen

This commit is contained in:
Bloxx12 2025-04-09 15:31:18 +02:00
commit 6e70e952e2
2 changed files with 13 additions and 9 deletions

View file

@ -4,7 +4,7 @@
pkgs,
...
}: let
inherit (lib.meta) getExe;
inherit (lib.meta) getExe getExe';
inherit (lib.modules) mkIf;
inherit (lib.options) mkOption mkEnableOption;
inherit (lib.types) str listOf;
@ -36,14 +36,15 @@ in {
config = mkIf cfg.enable {
services.greetd = let
session = {
command = ''
${pkgs.greetd.tuigreet}/bin/tuigreet \
-c \"${cfg.session}\" \
-r
-t --time-format "DD.MM.YYYY"
--asteriks'';
# command = "${getExe config.programs.uwsm.package} start hyprland-uwsm.desktop";
# user = username;
# command = ''
# ${pkgs.greetd.tuigreet}/bin/tuigreet \
# -c \"${cfg.session}\" \
# -r
# -t --time-format "DD.MM.YYYY"
# --asteriks'';
command = "${getExe config.programs.uwsm.package} start hyprland-uwsm.desktop";
user = username;
};
in {
enable = true;