about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-02-21 16:10:26 +0900
committersefidel <contact@sefidel.net>2023-02-21 16:10:26 +0900
commita92c4a2c9021b24f3959b57d25fb4a814991d120 (patch)
treed4b3903a697dbba0f0bb3460ae08d16d29d8186b
parent862261b5e7602c7c0e1115013662ce9dac96ca92 (diff)
downloadnixrc-a92c4a2c9021b24f3959b57d25fb4a814991d120.tar.gz
nixrc-a92c4a2c9021b24f3959b57d25fb4a814991d120.zip
feat: use yubikey for age
-rw-r--r--home/profiles/base/default.nix3
-rw-r--r--nixos/alpha/configuration.nix2
2 files changed, 5 insertions, 0 deletions
diff --git a/home/profiles/base/default.nix b/home/profiles/base/default.nix
index d30ba54..730d172 100644
--- a/home/profiles/base/default.nix
+++ b/home/profiles/base/default.nix
@@ -97,6 +97,9 @@ in
       pkgs.tree
       pkgs.neovim
 
+      pkgs.yubikey-manager
+      pkgs.age-plugin-yubikey
+
       # Common build tools
       (pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.default))
       pkgs.go
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index 5b11de4..acd7714 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -139,6 +139,8 @@
   services.avahi.nssmdns = true;
   services.avahi.openFirewall = true;
 
+  services.pcscd.enable = true;
+
   services.greetd = {
     enable = true;
     vt = 2;