From d58d0c2faabe46110272728eb4ac63eadb949188 Mon Sep 17 00:00:00 2001 From: sils Date: Sun, 19 Nov 2023 22:17:41 +0100 Subject: feat(flake): add (r)agenix --- flake.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'flake.nix') 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 ]; }; -- cgit 1.4.1