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