fix: move hyprland shell init to hyprland
This commit is contained in:
parent
03abee8b66
commit
a8c03f0261
3 changed files with 10 additions and 6 deletions
|
@ -4,6 +4,12 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
environment.loginShellInit = # sh
|
||||
''
|
||||
if [ -z "$WAYLAND_DISPLAY" ] && [ "$XDG_VTNR" -eq 1 ]; then
|
||||
dbus-run-session Hyprland
|
||||
fi
|
||||
'';
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue