Crypto : Add GPG and Yubikey manager.
This commit is contained in:
parent
c927e8ff63
commit
ce54cac532
|
@ -113,6 +113,7 @@
|
|||
./module/common/AutoUpdate.nix
|
||||
./module/common/Bash.nix
|
||||
./module/common/Bootloader.nix
|
||||
./module/common/Crypto.nix
|
||||
./module/common/Distrobox.nix
|
||||
./module/common/Dotfiles.nix
|
||||
./module/common/Filesystem.nix
|
||||
|
|
15
module/common/Crypto.nix
Normal file
15
module/common/Crypto.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ pkgs, ... }: {
|
||||
# GPG.
|
||||
services.udev.packages = [ pkgs.yubikey-personalization ];
|
||||
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
|
||||
# Extra packages.
|
||||
environment.systemPackages = with pkgs; [
|
||||
yubikey-manager # Yubikey Manager.
|
||||
yubioath-desktop # OTP.
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue