diff --git a/profiles/security.nix b/profiles/security.nix index d381875..685e924 100644 --- a/profiles/security.nix +++ b/profiles/security.nix @@ -52,10 +52,6 @@ persist.state.directories = [ "/home/balsoft/.config/Yubico" ]; - services.udev.extraRules = '' - ACTION=="remove", ATTRS{idVendor}=="1050", RUN+="${pkgs.systemd}/bin/loginctl lock-sessions" - ''; - services.getty.autologinUser = "balsoft"; environment.loginShellInit = lib.mkBefore ''