feat: Flake | revamp entire flake (#1)

Reviewed-on: #1
This commit is contained in:
2025-02-16 06:35:32 +00:00
parent ecc87ef0b8
commit 79d044e8ef
80 changed files with 1015 additions and 174 deletions

View File

@@ -0,0 +1,22 @@
{
pkgs,
...
}:
{
# yubikey login / sudo
security.pam = {
u2f = {
enable = true;
settings.cue = true;
};
services = {
login.u2fAuth = true;
sudo.u2fAuth = true;
};
};
environment.systemPackages = with pkgs; [
yubikey-manager
];
}