Update modules/users.nix

This commit is contained in:
Alexander Bantyev 2020-03-02 00:28:17 +03:00
parent 06e039923b
commit f79de01668
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@
services.mingetty.autologinUser = "balsoft";
environment.loginShellInit = "sway; sudo -u balsoft zsh";
environment.loginShellInit = "set -e; [[ $USER == balsoft ]] && (sway; sudo bash || exit 1)";
security.pam.services = builtins.listToAttrs (builtins.map (name: {
inherit name;