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
|
# Text login: greetd running the tuigreet greeter, which starts the session
|
||||||
# through the universal Wayland session manager.
|
# through the universal Wayland session manager.
|
||||||
let
|
|
||||||
hyprlandConfig = "/home/${config.user.name}/.config/hypr/hyprland.lua";
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
options.modules.desktop.session.login.enable =
|
options.modules.desktop.session.login.enable =
|
||||||
lib.mkEnableOption "greetd with the tuigreet text greeter";
|
lib.mkEnableOption "greetd with the tuigreet text greeter";
|
||||||
@@ -18,7 +15,7 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings.default_session.command =
|
settings.default_session.command =
|
||||||
"${lib.getExe pkgs.tuigreet} --time --remember "
|
"${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