Move sway startup where it belongs
This commit is contained in:
parent
9d30eb924e
commit
758446365d
@ -58,9 +58,8 @@
|
||||
|
||||
services.getty.autologinUser = "balsoft";
|
||||
|
||||
environment.loginShellInit = ''
|
||||
environment.loginShellInit = lib.mkBefore ''
|
||||
[[ "$(tty)" == /dev/tty? ]] && sudo /run/current-system/sw/bin/lock this
|
||||
[[ "$(tty)" == /dev/tty1 ]] && sway
|
||||
'';
|
||||
|
||||
security.pam.u2f = {
|
||||
|
@ -22,6 +22,8 @@ in {
|
||||
|
||||
users.users.balsoft.extraGroups = [ "sway" ];
|
||||
|
||||
environment.loginShellInit = lib.mkAfter ''[[ "$(tty)" == /dev/tty1 ]] && sway'';
|
||||
|
||||
home-manager.users.balsoft.wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
config = rec {
|
||||
|
Loading…
Reference in New Issue
Block a user