From 281e9a06eed8e826dcd8ed778360f02e902f6876 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Mon, 19 Sep 2022 17:30:03 +0200 Subject: [PATCH] swap yubi agent with gpg-agent --- hosts/home.nix | 2 +- hosts/q920/default.nix | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/hosts/home.nix b/hosts/home.nix index ca04d49..bd4875b 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -33,7 +33,7 @@ btop # Resource Manager pfetch # Minimal fetch ranger # File Manager - yubikey-agent # sign and authorize 2nd Fac + gnupg # sign and authorize 2nd Fac # Video/Audio feh # Image Viewer diff --git a/hosts/q920/default.nix b/hosts/q920/default.nix index 50aa15b..4dc5d51 100644 --- a/hosts/q920/default.nix +++ b/hosts/q920/default.nix @@ -50,17 +50,23 @@ # ]; # }; -# programs = { # No xbacklight, this is the alterantive + programs = { # No xbacklight, this is the alterantive # dconf.enable = true; # light.enable = true; -# }; + #ssh.agent.enable = true + gnupg.agent = { + enable = true; + enableSSHSupport = true; + pinentryFlavor = "curses"; + }; + }; services = { # tlp.enable = true; # TLP and auto-cpufreq for power management #logind.lidSwitch = "ignore"; # Laptop does not go to sleep when lid is closed auto-cpufreq.enable = true; #blueman.enable = true; - yubikey-agent.enable = true; + pcscd.enable = true; printing = { # Printing and drivers for TS5300 enable = true; drivers = [ pkgs.gutenprint ];