yubikey gpg/cryptsetup

This commit is contained in:
♥ Minnie ♥ 2024-04-14 21:57:21 +08:00
parent b78caad879
commit 4c3f590364

View file

@ -2,10 +2,14 @@
{
environment.systemPackages = with pkgs; [
# Configure your YubiKey via the command line
yubikey-manager
# Enables files to be encrypted to age identities stored on YubiKeys
age-plugin-yubikey
# Cryptfile
cryptsetup
# Yubikey can be used as a smart card for secure encryption
gnupg
# Configure your YubiKey via the command line
yubikey-manager
];
# Use our yubikey as a user login or for sudo access
@ -13,4 +17,7 @@
login.u2fAuth = true;
sudo.u2fAuth = true;
};
# Enable udev rules for gnupg smart cards
hardware.gpgSmartcards.enable = true;
}