Commit f12bf4be28cb

Vincent Demeester <vincent@sbr.pm>
2025-04-18 15:16:54
systems: moving age configuration to its own file
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent bf7206e
Changed files (3)
systems
common
systems/common/base/default.nix
@@ -15,6 +15,7 @@
     # All my machine have this running
     ../services/avahi.nix
     ../services/openssh.nix
+    ../programs/age.nix
     # ../services/wireguard.nix # or netbird
   ];
 
@@ -24,8 +25,6 @@
   };
 
   environment.systemPackages = with pkgs; [
-    age
-    agenix
     binutils
     curl
     file
systems/common/hardware/yubikey.nix
@@ -5,6 +5,7 @@
 }:
 {
   environment.systemPackages = with pkgs; [
+    age-plugin-yubikey
     yubico-piv-tool
     yubikey-personalization
     yubikey-manager
systems/common/programs/age.nix
@@ -0,0 +1,12 @@
+{ config
+, pkgs
+, ...
+}:
+{
+  environment.systemPackages = with pkgs; [
+    age
+    age-plugin-tpm
+    agenix
+    passage
+  ];
+}