yubikey gpg/cryptsetup
This commit is contained in:
parent
b78caad879
commit
4c3f590364
|
@ -2,10 +2,14 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# Configure your YubiKey via the command line
|
|
||||||
yubikey-manager
|
|
||||||
# Enables files to be encrypted to age identities stored on YubiKeys
|
# Enables files to be encrypted to age identities stored on YubiKeys
|
||||||
age-plugin-yubikey
|
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
|
# Use our yubikey as a user login or for sudo access
|
||||||
|
@ -13,4 +17,7 @@
|
||||||
login.u2fAuth = true;
|
login.u2fAuth = true;
|
||||||
sudo.u2fAuth = true;
|
sudo.u2fAuth = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Enable udev rules for gnupg smart cards
|
||||||
|
hardware.gpgSmartcards.enable = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue