mirror of
https://github.com/RGBCube/agenix
synced 2025-07-28 17:27:45 +00:00
contrib: stop packaging rage
We don't need to package rage anymore, since all the latest maintained versions of Nix have versions higher than what we need.
This commit is contained in:
parent
0c50bbe60e
commit
2c0ae7d44f
2 changed files with 1 additions and 55 deletions
|
@ -10,11 +10,6 @@ with lib; let
|
|||
|
||||
isDarwin = lib.attrsets.hasAttrByPath ["environment" "darwinConfig"] options;
|
||||
|
||||
# we need at least rage 0.5.0 to support ssh keys
|
||||
rage =
|
||||
if lib.versionOlder pkgs.rage.version "0.5.0"
|
||||
then pkgs.callPackage ../pkgs/rage.nix {}
|
||||
else pkgs.rage;
|
||||
ageBin = config.age.ageBin;
|
||||
|
||||
users = config.users.users;
|
||||
|
@ -187,7 +182,7 @@ in {
|
|||
options.age = {
|
||||
ageBin = mkOption {
|
||||
type = types.str;
|
||||
default = "${rage}/bin/rage";
|
||||
default = "${pkgs.rage}/bin/rage";
|
||||
description = ''
|
||||
The age executable to use.
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue