summary refs log tree commit diff stats
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flake.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 1ad7ecb..791c86a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -13,6 +13,20 @@
     impermanence.url = "github:nix-community/impermanence";
 
     # inputs for following
+    agenix = {
+      url = "github:ryantm/agenix";
+      inputs.nixpkgs.follows = "nixpkgs";
+    };
+    ragenix = {
+      url = "github:yaxitech/ragenix";
+      inputs = {
+        nixpkgs.follows = "nixpkgs";
+        agenix.follows = "agenix";
+        flake-utils.follows = "flake-utils";
+        rust-overlay.follows = "rust-overlay";
+        crane.follows = "crane";
+      };
+    };
     nixvim = {
       url = "github:nix-community/nixvim";
       inputs = {
@@ -126,6 +140,8 @@
     wl-togglescreens,
     sops-nix,
     flake-utils,
+    agenix,
+    ragenix,
     ...
   } @ attrs: let
     utils = flake-utils.lib;
@@ -140,6 +156,7 @@
       lanzaboote.nixosModules.lanzaboote
       home-manager.nixosModules.home-manager
       sops-nix.nixosModules.sops
+      agenix.nixosModules.default
       {
         home-manager = {
           useGlobalPkgs = true;
@@ -177,6 +194,8 @@
           nil
           statix
           alejandra
+          sops
+          ragenix.packages."${system}".default
         ];
       };