about summary refs log tree commit diff
path: root/home/age/default.nix
blob: 0e2fd13f94a7c0857b9a117cf32524369ed05f1c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
    ];
  };
}