mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-03-31 04:14:37 +00:00
Merge pull request #79 from hackworthltd/master
Add an overlay to the flake.
This commit is contained in:
commit
c3d43f833b
1 changed files with 6 additions and 0 deletions
|
@ -12,6 +12,12 @@
|
|||
];
|
||||
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
|
||||
in {
|
||||
overlay = final: prev:
|
||||
let
|
||||
localPkgs = import ./default.nix { pkgs = final; };
|
||||
in {
|
||||
inherit (localPkgs) sops-install-secrets sops-init-gpg-key sops-pgp-hook ssh-to-pgp;
|
||||
};
|
||||
nixosModules.sops = import ./modules/sops;
|
||||
packages = forAllSystems (system: import ./default.nix {
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
|
|
Loading…
Add table
Reference in a new issue