2020-09-03 05:49:24 +02:00
|
|
|
{
|
|
|
|
description = "Secret management with age";
|
2020-09-18 20:59:01 +02:00
|
|
|
|
|
|
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
2020-12-19 04:39:25 +01:00
|
|
|
let
|
|
|
|
exports = {
|
2020-09-18 20:59:01 +02:00
|
|
|
nixosModules.age = import ./modules/age.nix;
|
2020-12-29 04:39:16 +01:00
|
|
|
overlay = import ./overlay.nix;
|
2020-12-19 04:39:25 +01:00
|
|
|
};
|
|
|
|
outputs = flake-utils.lib.eachDefaultSystem (system: {
|
|
|
|
packages = nixpkgs.legacyPackages.${system}.callPackage ./default.nix { };
|
2020-09-18 20:59:01 +02:00
|
|
|
defaultPackage = self.packages.${system}.agenix;
|
|
|
|
});
|
2020-12-19 04:39:25 +01:00
|
|
|
in
|
|
|
|
exports // outputs;
|
2020-09-03 05:49:24 +02:00
|
|
|
}
|