yubikey stuff

This commit is contained in:
Adithya 2023-03-23 22:10:30 +05:30
parent a2598db56d
commit a31d1897fe
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
3 changed files with 8 additions and 0 deletions

View file

@ -45,6 +45,7 @@ in
pantheon.elementary-files pantheon.elementary-files
pavucontrol pavucontrol
xdg-utils xdg-utils
yubikey-manager
]; ];
dconf.settings = { dconf.settings = {
@ -62,6 +63,9 @@ in
settings = { settings = {
keyserver = "hkps://keys.openpgp.org"; keyserver = "hkps://keys.openpgp.org";
}; };
scdaemonSettings = {
disable-ccid = true;
};
}; };
ssh = { ssh = {
enable = true; enable = true;
@ -72,6 +76,7 @@ in
services.gpg-agent = { services.gpg-agent = {
enable = true; enable = true;
enableExtraSocket = true; enableExtraSocket = true;
enableScDaemon = true;
enableSshSupport = true; enableSshSupport = true;
pinentryFlavor = "gnome3"; pinentryFlavor = "gnome3";
}; };

View file

@ -13,6 +13,7 @@
]; ];
}; };
hardware.gpgSmartcards.enable = true;
programs = { programs = {
git.enable = true; git.enable = true;
gnupg.agent = { gnupg.agent = {

View file

@ -10,6 +10,7 @@
fwupd.enable = true; fwupd.enable = true;
gvfs.enable = true; gvfs.enable = true;
lvm.dmeventd.enable = true; lvm.dmeventd.enable = true;
pcscd.enable = true;
pipewire = { pipewire = {
enable = true; enable = true;
alsa.enable = true; alsa.enable = true;
@ -19,6 +20,7 @@
power-profiles-daemon.enable = true; power-profiles-daemon.enable = true;
resolved.enable = true; resolved.enable = true;
thermald.enable = true; thermald.enable = true;
udev.packages = [ pkgs.yubikey-personalization ];
udisks2.enable = true; udisks2.enable = true;
}; };
} }