set up nitrokey stuff for desktop

This commit is contained in:
Schrottkatze 2024-02-18 12:40:52 +01:00
parent cf18b231c4
commit c4df9a9b39
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc

View file

@ -82,6 +82,16 @@
enableRedistributableFirmware = true; 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 # missing: menu-qalc picom-jonaburg
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# TODO: clean up. # TODO: clean up.