mirror of
https://github.com/RGBCube/agenix
synced 2025-07-28 17:27:45 +00:00
allow customizing ageBin
This commit is contained in:
parent
52ea2f8c32
commit
c2f6bd077c
2 changed files with 14 additions and 6 deletions
|
@ -10,7 +10,7 @@ let
|
|||
if lib.versionOlder pkgs.rage.version "0.5.0"
|
||||
then pkgs.callPackage ../pkgs/rage.nix { }
|
||||
else pkgs.rage;
|
||||
ageBin = "${rage}/bin/rage";
|
||||
ageBin = config.age.ageBin;
|
||||
|
||||
users = config.users.users;
|
||||
|
||||
|
@ -96,6 +96,13 @@ let
|
|||
in
|
||||
{
|
||||
options.age = {
|
||||
ageBin = mkOption {
|
||||
type = types.str;
|
||||
default = "${rage}/bin/rage";
|
||||
description = ''
|
||||
The age executable to use.
|
||||
'';
|
||||
};
|
||||
secrets = mkOption {
|
||||
type = types.attrsOf secretType;
|
||||
default = { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue