feat: enable agenix for secret storage

This commit is contained in:
Kiana Sheibani 2024-08-03 02:02:50 -04:00
parent 7b488ff7c0
commit 0eae8f32ae
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -6,15 +6,20 @@ inputs = {
rpi5-kernel.url = "gitlab:vriska/nix-rpi5";
rpi5-kernel.inputs.nixpkgs.follows = "nixpkgs";
agenix.url = "github:ryantm/agenix";
agenix.inputs.nixpkgs.follows = "nixpkgs";
agenix.inputs.darwin.follows = "";
};
outputs = inputs@{ self, nixpkgs, rpi5-kernel, ... }:
outputs = inputs@{ self, nixpkgs, agenix, ... }:
{
nixosConfigurations."toki-rpi5" =
nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
modules = [
{ _module.args = inputs; }
agenix.nixosModules.default
./config.nix
];
};