Skip to content

Commit

Permalink
tomate: enable login per u2f
Browse files Browse the repository at this point in the history
  • Loading branch information
rouven0 committed Dec 12, 2023
1 parent 0809f26 commit 63551dd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions hosts/tomate/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 63551dd

Please sign in to comment.