From 282a0ae22d2876528d0be505700666fd3b5fa5bb Mon Sep 17 00:00:00 2001 From: LavaDesu Date: Mon, 17 Mar 2025 15:56:47 +1100 Subject: [PATCH] system/greetd_wayland: setup auto-login --- modules/system/greetd_wayland.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/system/greetd_wayland.nix b/modules/system/greetd_wayland.nix index 4e2a41f..9295b27 100644 --- a/modules/system/greetd_wayland.nix +++ b/modules/system/greetd_wayland.nix @@ -6,6 +6,11 @@ command = "${pkgs.greetd.tuigreet}/bin/tuigreet --remember --asterisks --time --cmd 'zsh -c \"source $HOME/.config/zsh/.zshrc && Hyprland > $XDG_RUNTIME_DIR/Hyprland.out\"'"; user = "greeter"; }; + + initial_session = { + command = "Hyprland > \"$XDG_RUNTIME_DIR/Hyprland.out\""; + user = "rin"; + }; }; };