modules/yubikey: add cue to all hosts with yubikey
This commit is contained in:
parent
74a10b791e
commit
ef197c6136
2 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,6 @@
|
||||||
./users
|
./users
|
||||||
];
|
];
|
||||||
|
|
||||||
security.pam.u2f.cue = true;
|
|
||||||
local.yubikey.enable = true;
|
local.yubikey.enable = true;
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
|
@ -12,6 +12,7 @@ let cfg = config.local.yubikey; in
|
||||||
security.pam.u2f = {
|
security.pam.u2f = {
|
||||||
enable = true;
|
enable = true;
|
||||||
control = "required";
|
control = "required";
|
||||||
|
cue = lib.mkDefault true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.udev.packages = [ pkgs.yubikey-personalization ];
|
services.udev.packages = [ pkgs.yubikey-personalization ];
|
||||||
|
|
Loading…
Reference in a new issue