Merge branch 'flake-nixos-module'

This commit is contained in:
Ryan Mulligan 2020-12-19 09:44:43 -08:00
commit 553d1f5caa

View file

@ -4,10 +4,14 @@
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
{
let
exports = {
nixosModules.age = import ./modules/age.nix;
packages = nixpkgs.legacyPackages.${system}.callPackage ./default.nix {};
};
outputs = flake-utils.lib.eachDefaultSystem (system: {
packages = nixpkgs.legacyPackages.${system}.callPackage ./default.nix { };
defaultPackage = self.packages.${system}.agenix;
});
in
exports // outputs;
}