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