From 72cd115d775d6f47c4ce762ef0f75e5e90393436 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sat, 27 Dec 2025 18:12:32 +0100 Subject: [PATCH] profile/sway/autostart: use lemurs --- profiles/sway/autostart.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/profiles/sway/autostart.nix b/profiles/sway/autostart.nix index 494fc81..bf814f5 100644 --- a/profiles/sway/autostart.nix +++ b/profiles/sway/autostart.nix @@ -8,12 +8,9 @@ in }; config = lib.mkIf cfg.enable { - - # start sway if login happens - environment.interactiveShellInit = '' - if test `tty` = /dev/tty1; then - exec sway - fi - ''; + services.displayManager.lemurs = { + enable = true; + settings.environment_switcher.include_tty_shell = true; + }; }; }