From aa4528b70ae24d33ac9fcd6b1995b734c9e25dde Mon Sep 17 00:00:00 2001 From: Nathan Date: Sun, 24 Aug 2025 08:50:53 -0500 Subject: [PATCH] test hyprland autolaunch --- system-config/configuration/homebox/default.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/system-config/configuration/homebox/default.nix b/system-config/configuration/homebox/default.nix index 68b6796..604919c 100644 --- a/system-config/configuration/homebox/default.nix +++ b/system-config/configuration/homebox/default.nix @@ -103,6 +103,18 @@ }; }; + services.getty = { + autologinUser = "nathan"; + }; + + programs.zsh.shellInit = '' + if [ -z "''${WAYLAND_DISPLAY}" ] && [ "''${XDG_VTNR}" -eq 1 ]; then + dbus-run-session Hyprland + fi + ''; + + systemd.services.hyprland = {}; + sysconfig = { remoteBuildHost = true; host = "homebox"; @@ -144,7 +156,7 @@ }; services = { - sddm.enable = true; + sddm.enable = false; openssh.enable = true; pipewire.enable = true; netbird.enable = true;