diff options
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/agenix/default.nix | 10 | ||||
-rw-r--r-- | third_party/sources/sources.json | 12 |
2 files changed, 15 insertions, 7 deletions
diff --git a/third_party/agenix/default.nix b/third_party/agenix/default.nix index cc7dfd90fb65..f80dda512c5b 100644 --- a/third_party/agenix/default.nix +++ b/third_party/agenix/default.nix @@ -1,12 +1,8 @@ -{ pkgs, ... }: +{ pkgs, depot, ... }: let - src = pkgs.fetchFromGitHub { - owner = "ryantm"; - repo = "agenix"; - rev = "52ea2f8c3231cc2b5302fa28c63588aacb77ea29"; - sha256 = "1sqgbriwmvxcmqp0zbk7873psk9g60a53fgrr9p0jafki5zzgvdx"; - }; + src = depot.third_party.sources.agenix; + agenix = import src { inherit pkgs; }; diff --git a/third_party/sources/sources.json b/third_party/sources/sources.json index aee4518a0d5f..f5c8754c17b7 100644 --- a/third_party/sources/sources.json +++ b/third_party/sources/sources.json @@ -1,4 +1,16 @@ { + "agenix": { + "branch": "main", + "description": "age-encrypted secrets for NixOS", + "homepage": "https://matrix.to/#/#agenix:nixos.org", + "owner": "ryantm", + "repo": "agenix", + "rev": "7e5e58b98c3dcbf497543ff6f22591552ebfe65b", + "sha256": "1cfdd2ja56g8clllygf91il7dignr90ij1bl29g3kl7dl977dhl4", + "type": "tarball", + "url": "https://github.com/ryantm/agenix/archive/7e5e58b98c3dcbf497543ff6f22591552ebfe65b.tar.gz", + "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" + }, "emacs-overlay": { "branch": "master", "description": "Bleeding edge emacs overlay [maintainer=@adisbladis] ", |