Don't force u2f on everyone

This commit is contained in:
Natsu Kagami 2023-03-16 18:16:21 +01:00
parent ee2c46f616
commit 3b569a08e5
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
2 changed files with 4 additions and 3 deletions

View file

@ -20,9 +20,10 @@ in
};
# Services
# services.sudo.u2fAuth = true;
services.sudo.u2fAuth = false;
services.login.u2fAuth = true;
# services.swaylock.u2fAuth = mkIf (config.services.swaylock.enable) true;
services.swaylock.u2fAuth = false;
services.sshd.u2fAuth = false;
};
};
}

View file

@ -12,6 +12,6 @@ in
};
};
config = mkIf cfg.enable {
security.pam.services.swaylock.text = readFile "${cfg.package}/etc/pam.d/swaylock";
# security.pam.services.swaylock.text = readFile "${cfg.package}/etc/pam.d/swaylock";
};
}