about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--third_party/agenix/default.nix15
-rw-r--r--users/tazjin/nixos/tverskoy/default.nix1
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
     ]) ++