Update modules/users.nix
This commit is contained in:
parent
06e039923b
commit
f79de01668
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user