add autostart

This commit is contained in:
jopejoe1 2024-12-27 00:33:30 +01:00
parent ab37c08deb
commit 466592e7cb

View file

@ -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 = {