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