From bc793316b9701dc849fec37dd2a23aa929e59a61 Mon Sep 17 00:00:00 2001 From: LavaDesu Date: Wed, 19 Mar 2025 00:35:57 +1100 Subject: [PATCH] system/greetd_wayland: fix autologin --- modules/system/greetd_wayland.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/system/greetd_wayland.nix b/modules/system/greetd_wayland.nix index b441dfa..367e74f 100644 --- a/modules/system/greetd_wayland.nix +++ b/modules/system/greetd_wayland.nix @@ -8,7 +8,9 @@ }; initial_session = { - command = "source $HOME/.config/zsh/.zshrc && Hyprland > \"$XDG_RUNTIME_DIR/Hyprland.out\""; + command = "${pkgs.writeShellScript "launch.sh" '' + zsh -c "source $HOME/.config/zsh/.zshrc && Hyprland > \"$XDG_RUNTIME_DIR/Hyprland.out\"" + ''}"; user = "rin"; }; };