feat: allow yubikey otp authentication
parent
98ca23db7e
commit
ae5a3ffc15
|
@ -73,6 +73,13 @@
|
||||||
polkit.enable = true;
|
polkit.enable = true;
|
||||||
rtkit.enable = true;
|
rtkit.enable = true;
|
||||||
pam.services.swaylock = { };
|
pam.services.swaylock = { };
|
||||||
|
|
||||||
|
pam.yubico = {
|
||||||
|
enable = true;
|
||||||
|
mode = "challenge-response";
|
||||||
|
id = [ "23664350" ];
|
||||||
|
control = "sufficient";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
@ -87,6 +94,8 @@
|
||||||
wlr.enable = true;
|
wlr.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.udev.packages = [ pkgs.yubikey-personalization ];
|
||||||
|
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wireplumber.enable = true;
|
wireplumber.enable = true;
|
||||||
|
|
Loading…
Reference in New Issue