Sway: Difference between revisions
No longer called `gnome.adwaita-icon-theme`, moved to top level. |
m →Using greeter: removed a somewhat messy fix I added |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 107: | Line 107: | ||
}; | }; | ||
}; | }; | ||
</nowiki>}} | </nowiki>|name=|lang=}} | ||
=== Automatic startup on boot === | |||
The snippet below will start Sway immediately on startup, without a greeter and '''without login prompt'''. Only consider using this in conjunction with [[Full Disk Encryption]]! | |||
<syntaxhighlight lang="nix"> | |||
services.getty = { | |||
autologinUser = "your_username"; | |||
autologinOnce = true; | |||
}; | |||
environment.loginShellInit = '' | |||
[[ "$(tty)" == /dev/tty1 ]] && sway | |||
''; | |||
</syntaxhighlight> | |||
== Configuration == | == Configuration == | ||