tomate: enable login per u2f

This commit is contained in:
Rouven Seifert 2023-12-12 18:12:39 +01:00
parent 0809f266fc
commit 63551dd42a
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -110,6 +110,18 @@
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget
];
security = {
pam = {
u2f = {
enable = true;
};
services = {
login.u2fAuth = true;
sudo.u2fAuth = true;
};
};
};
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.