Addressed some things nixd complained about
This commit is contained in:
alejandro-angulo 2024-08-03 10:32:02 -07:00
parent 7d8c009c64
commit b9b996bd66
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
25 changed files with 145 additions and 187 deletions

View file

@ -1,14 +1,14 @@
{
options,
config,
pkgs,
lib,
...
}:
with lib; let
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.aa.apps.yubikey;
in {
options.aa.apps.yubikey = with types; {
options.aa.apps.yubikey = {
enable = mkEnableOption "yubikey";
};
@ -25,7 +25,6 @@ in {
security.pam.yubico = {
enable = true;
#debug = true;
mode = "challenge-response";
# Uncomment below for 2FA
#control = "required";