mirror of
https://github.com/ryantm/agenix.git
synced 2024-12-22 23:58:29 +03:00
Merge branch 'flake-nixos-module'
This commit is contained in:
commit
553d1f5caa
1 changed files with 7 additions and 3 deletions
10
flake.nix
10
flake.nix
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue