Reorganize project layout and add wg port option

This commit is contained in:
Kevin Kandlbinder 2023-01-04 13:49:59 +01:00
parent f5a2346ee7
commit ee9830b87f
9 changed files with 165 additions and 153 deletions

View file

@ -1,21 +0,0 @@
{ lib, pkgs, config, ... }:
with lib;
let
cfg = config.kevin.yubikey;
in {
options.kevin.yubikey = {
enable = mkEnableOption "yubikey setup";
};
config = mkIf cfg.enable (mkMerge [
({
security.pam.yubico = {
enable = true;
debug = false;
mode = "challenge-response";
};
services.udev.packages = [ pkgs.yubikey-personalization ];
})
]);
}