diff options
author | Vincent Ambo <mail@tazj.in> | 2021-12-03T13·40+0300 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-12-07T18·27+0000 |
commit | 214f422572bd15633bb75ecfc83cf8a52ee62c19 (patch) | |
tree | 6b0a789a631ce07b9a43061b75c24116b11f3fd4 | |
parent | c1479a6221c246d193ababe2b82e3fd27277ce46 (diff) |
feat(3p/agenix): Import latest version from GitHub r/3151
It's time to automate secrets deployment on hosts like whitby. Change-Id: If7006124b4b5fec16b4c3570488c11e484f93888
-rw-r--r-- | third_party/agenix/default.nix | 15 | ||||
-rw-r--r-- | users/tazjin/nixos/tverskoy/default.nix | 1 |
2 files changed, 16 insertions, 0 deletions
diff --git a/third_party/agenix/default.nix b/third_party/agenix/default.nix new file mode 100644 index 000000000000..91fd9576b091 --- /dev/null +++ b/third_party/agenix/default.nix @@ -0,0 +1,15 @@ +{ pkgs, ... }: + +let + commit = "52ea2f8c3231cc2b5302fa28c63588aacb77ea29"; + src = builtins.fetchTarball { + url = "https://github.com/ryantm/agenix/archive/${commit}.tar.gz"; + sha256 = "1sqgbriwmvxcmqp0zbk7873psk9g60a53fgrr9p0jafki5zzgvdx"; + }; + agenix = import src { + inherit pkgs; + }; +in { + inherit src; + cli = agenix.agenix; +} diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix index f44bab62d8e3..6dad04d609ce 100644 --- a/users/tazjin/nixos/tverskoy/default.nix +++ b/users/tazjin/nixos/tverskoy/default.nix @@ -247,6 +247,7 @@ in lib.fix(self: { screenLock tools.nsfv-setup users.tazjin.emacs + third_party.agenix.cli third_party.dfmt ]) ++ |