mirror of
https://github.com/ryantm/agenix.git
synced 2024-09-11 06:05:38 +03:00
Merge branch 'flake-nixos-module'
This commit is contained in:
commit
553d1f5caa
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 New Issue
Block a user