refactor: modulization

This commit is contained in:
DACHXY 2025-04-09 13:24:02 +08:00
parent a29782681a
commit f6acb92ad0
63 changed files with 680 additions and 1959 deletions

View file

@ -2,15 +2,18 @@
{
services.udev.packages = [ pkgs.yubikey-personalization ];
security.pam.services.hyprlock = { };
security.pam.u2f = {
enable = true;
settings.cue = true;
control = "sufficient";
};
security.pam.services = {
sudo.u2fAuth = true;
security.pam = {
services.hyprlock = { };
services = {
sudo.u2fAuth = true;
};
u2f = {
enable = true;
settings.cue = true;
control = "sufficient";
};
};
environment.systemPackages = with pkgs; [