Update modules/users.nix
This commit is contained in:
parent
7574de57cf
commit
ab170d2af8
@ -42,7 +42,10 @@
|
||||
|
||||
services.mingetty.autologinUser = "balsoft";
|
||||
|
||||
environment.loginShellInit = "sudo /run/current-system/sw/bin/lock this; [[ $(tty) == /dev/tty1 ]] && sway";
|
||||
environment.loginShellInit = ''
|
||||
[[ "$(tty)" == /dev/tty? ]] && sudo /run/current-system/sw/bin/lock this
|
||||
[[ "$(tty)" == /dev/tty1 ]] && sway
|
||||
'';
|
||||
|
||||
security.pam.u2f = {
|
||||
control = "sufficient";
|
||||
|
Loading…
Reference in New Issue
Block a user