Compare commits

..

2 commits

2 changed files with 7 additions and 1 deletions

View file

@ -61,7 +61,8 @@ in
color_scheme = "myCoolTheme",
hide_tab_bar_if_only_one_tab = true,
-- https://github.com/wez/wezterm/issues/4483
enable_wayland = true,
enable_wayland = false,
warn_about_missing_glyphs = false
}
'';
};

View file

@ -9,6 +9,11 @@ let cfg = config.local.yubikey; in
config = lib.mkIf cfg.enable {
environment.systemPackages = [ pkgs.yubikey-manager pkgs.yubikey-personalization ];
security.pam.u2f = {
enable = true;
control = "required";
};
services.udev.packages = [ pkgs.yubikey-personalization ];
security.pam.services = {
login.u2fAuth = true;