set up nitrokey stuff for desktop

This commit is contained in:
Jade 2024-02-18 12:40:52 +01:00
parent cf18b231c4
commit c4df9a9b39
No known key found for this signature in database

View file

@ -82,6 +82,16 @@
enableRedistributableFirmware = true;
};
security.pam.services.jade.u2fAuth = true;
programs.i3lock.u2fSupport = true;
security.pam.u2f = {
enable = true;
cue = true;
control = "sufficient";
authFile = "/home/jade/.ssh/u2f_keys";
};
# missing: menu-qalc picom-jonaburg
environment.systemPackages = with pkgs; [
# TODO: clean up.