summaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-11-19 22:17:41 +0100
committersils <sils@sils.li>2023-11-19 22:17:41 +0100
commitd58d0c2faabe46110272728eb4ac63eadb949188 (patch)
treea4f308cdaa819228c9832261c8a4213b63d03989 /flake.nix
parentfix(u/sils/waybar): change css (diff)
downloadnix-config-d58d0c2faabe46110272728eb4ac63eadb949188.zip
feat(flake): add (r)agenix
Diffstat (limited to 'flake.nix')
-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
];
};