chore: fix pinentry
This commit is contained in:
parent
6043d0997c
commit
abacbb57d7
|
@ -15,5 +15,8 @@ dunst &
|
|||
# Enable our compositor
|
||||
picom -b
|
||||
|
||||
# Fix for pinentry bug on NixOS
|
||||
gpgconf --reload gpg-agent
|
||||
|
||||
# Launch our window manager
|
||||
exec xmonad
|
||||
|
|
|
@ -4,15 +4,16 @@
|
|||
age-plugin-yubikey
|
||||
# Setup dm-crypt managed device-mapper mappings.
|
||||
cryptsetup
|
||||
# Configure your YubiKey via the command line
|
||||
# Configure our YubiKey via the command line
|
||||
yubikey-manager
|
||||
# Required for jetbrains password store
|
||||
keepass
|
||||
];
|
||||
|
||||
# Manage secret (private) keys.
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
# Fix: invalid time when using keytocard
|
||||
pinentryPackage = pkgs.pinentry-curses;
|
||||
pinentryPackage = pkgs.pinentry-gtk2;
|
||||
};
|
||||
|
||||
# Use our yubikey as a user login or for sudo access
|
||||
|
@ -21,6 +22,12 @@
|
|||
sudo.u2fAuth = true;
|
||||
};
|
||||
|
||||
# Configure services
|
||||
services = {
|
||||
# Access smart cards using SCard API
|
||||
pcscd.enable = true;
|
||||
};
|
||||
|
||||
# Enable udev rules for gnupg smart cards
|
||||
hardware.gpgSmartcards.enable = true;
|
||||
}
|
||||
|
|
|
@ -33,12 +33,6 @@
|
|||
adb.enable = true;
|
||||
};
|
||||
|
||||
# Configure services
|
||||
services = {
|
||||
# Access smart cards using SCard API
|
||||
pcscd.enable = true;
|
||||
};
|
||||
|
||||
# Manage linux containers
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue