From 94b184cb69f97c8e3ad09c0c511cba2d8346edb6 Mon Sep 17 00:00:00 2001 From: Fabian Montero Date: Mon, 2 Dec 2024 20:51:02 -0600 Subject: [PATCH] last commit --- base/platforms/t14/default.nix | 21 +++++++++------------ home/default.nix | 6 ++++++ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/base/platforms/t14/default.nix b/base/platforms/t14/default.nix index e350efa..f34b541 100644 --- a/base/platforms/t14/default.nix +++ b/base/platforms/t14/default.nix @@ -37,18 +37,6 @@ }; }; - # esto es de la FGPA, eliminar cuando termine el curso - services.udev.extraRules = '' - # USB-Blaster - ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6001", MODE="660", GROUP="dialout", TAG+="uaccess" - ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6002", MODE="660", GROUP="dialout", TAG+="uaccess" - ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6003", MODE="660", GROUP="dialout", TAG+="uaccess" - - # USB-Blaster II - ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6010", MODE="660", GROUP="dialout", TAG+="uaccess" - ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6810", MODE="660", GROUP="dialout", TAG+="uaccess" - ''; - services = { fwupd.enable = true; thinkfan.enable = true; @@ -57,5 +45,14 @@ blueman.enable = true; }; + services = { + pcscd.enable = true; + udev.packages = [ pkgs.yubikey-personalization ]; + }; + + environment.etc."pkcs11/modules/ykcs11".text = '' + module: ${pkgs.yubico-piv-tool}/lib/libykcs11.so + ''; + } diff --git a/home/default.nix b/home/default.nix index 7459784..fe4fe6c 100644 --- a/home/default.nix +++ b/home/default.nix @@ -39,6 +39,12 @@ with lib; "unstable".flake = unstable; }; + services.gpg-agent = { + enable = true; + enableZshIntegration = true; + pinentryFlavor = "gtk2"; + }; + programs.home-manager.enable = true; xdg = {