From 35af91267722f49b093169b089455f9c54b93713 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Fri, 1 Apr 2022 20:11:45 +0300 Subject: [PATCH] Don't look when yubi is out --- profiles/security.nix | 4 ---- 1 file changed, 4 deletions(-) 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 ''