new stable

This commit is contained in:
DACHXY 2024-12-29 14:14:12 +08:00
parent 9bc6a41617
commit f317b141f7
21 changed files with 179 additions and 61 deletions

View file

@ -1,8 +1,21 @@
{ pkgs, ... }:
{
security.polkit.enable = true;
security.pam.services.swaylock = { };
security.pam.services.swaylock.fprintAuth = false;
security.pam.services.sddm.enableGnomeKeyring = true;
services.udev.packages = [ pkgs.yubikey-personalization ];
security.pam.u2f = {
enable = true;
settings.cue = true;
control = "sufficient";
};
security.pam.services = {
greetd.u2fAuth = true;
sudo.u2fAuth = true;
# hyprlock.u2fAuth = true;
};
environment.systemPackages = with pkgs; [
yubikey-manager
];
}