diff --git a/modules/users.nix b/modules/users.nix index 5192f87..cce5199 100644 --- a/modules/users.nix +++ b/modules/users.nix @@ -46,10 +46,6 @@ enable = true; }; - services.mingetty.autologinUser = "balsoft"; - - environment.loginShellInit = "set -e; [[ $USER == balsoft ]] && (sway; sudo bash || exit 1)"; - security.pam.services = builtins.listToAttrs (builtins.map (name: { inherit name; value = { unixAuth = false; }; diff --git a/modules/workspace/i3/default.nix b/modules/workspace/i3/default.nix index 824dc8a..dead281 100755 --- a/modules/workspace/i3/default.nix +++ b/modules/workspace/i3/default.nix @@ -69,7 +69,6 @@ in { ]; }; startup = map (a: { notification = false; } // a) [ - { command = lock; } # For autologin purposes { command = apps.browser.cmd; } { command = "${pkgs.kdeconnect}/libexec/kdeconnectd"; } {