fix(hyprland): use normal config discovery
This commit is contained in:
@@ -6,9 +6,6 @@
|
||||
}:
|
||||
# Text login: greetd running the tuigreet greeter, which starts the session
|
||||
# through the universal Wayland session manager.
|
||||
let
|
||||
hyprlandConfig = "/home/${config.user.name}/.config/hypr/hyprland.lua";
|
||||
in
|
||||
{
|
||||
options.modules.desktop.session.login.enable =
|
||||
lib.mkEnableOption "greetd with the tuigreet text greeter";
|
||||
@@ -18,7 +15,7 @@ in
|
||||
enable = true;
|
||||
settings.default_session.command =
|
||||
"${lib.getExe pkgs.tuigreet} --time --remember "
|
||||
+ "--cmd 'HYPRLAND_CONFIG=${hyprlandConfig} uwsm start -e -D Hyprland hyprland.desktop'";
|
||||
+ "--cmd 'uwsm start -e -D Hyprland hyprland.desktop'";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user