agenix/flake.nix

19 lines
523 B
Nix
Raw Normal View History

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