agenix/doc/overriding-age-binary.md

13 lines
336 B
Markdown
Raw Normal View History

# Overriding age binary {#overriding-age-binary}
2024-02-07 10:48:49 +03:00
The agenix CLI uses `age` by default as its age implemenation, you
can use the `rage` implementation with Flakes like this:
```nix
{pkgs,agenix,...}:{
environment.systemPackages = [
2024-02-07 10:48:49 +03:00
(agenix.packages.x86_64-linux.default.override { ageBin = "${pkgs.rage}/bin/rage"; })
];
}
```