about summary refs log tree commit diff
path: root/home/age
diff options
context:
space:
mode:
Diffstat (limited to 'home/age')
-rw-r--r--home/age/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/home/age/default.nix b/home/age/default.nix
new file mode 100644
index 0000000..0e2fd13
--- /dev/null
+++ b/home/age/default.nix
@@ -0,0 +1,16 @@
+{ pkgs, config, lib, ... }:
+let cfg = config.my.home.age;
+in
+{
+  options.my.home.age = with lib; {
+    enable = mkEnableOption "r|age tooling";
+  };
+
+  config = lib.mkIf cfg.enable {
+    home.packages = with pkgs; [
+      age # https://github.com/FiloSottile/age
+      rage # https://github.com/str4d/rage
+      age-plugin-yubikey # https://github.com/str4d/age-plugin-yubikey
+    ];
+  };
+}