From 466592e7cbb8559a85e2ddc2e3a5d9d82f1b207d Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Fri, 27 Dec 2024 00:33:30 +0100 Subject: [PATCH] add autostart --- config.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/config.nix b/config.nix index bf38a48..850b040 100644 --- a/config.nix +++ b/config.nix @@ -68,6 +68,11 @@ in wayland.windowManager.sway = { enable = true; + config.startup = [ + { + command = "firefox-esr --kiosk c3nav.de"; + } + ]; extraConfig = '' set $ws1 c3nav default_border none @@ -133,6 +138,18 @@ in PasswordAuthentication = false; }; }; + xserver = { + displayManager = { + autoLogin = { + enable = true; + autoLogin.user = "c3terminal"; + }; + lightdm = { + greeter.enable = false; + lightdm.enable = true; + }; + }; + }; }; programs.sway = {