From ecb42cdcf9f29d8f769c224e71aeb79a679371ca Mon Sep 17 00:00:00 2001 From: Drew Hess Date: Sat, 6 Feb 2021 16:47:44 +0000 Subject: [PATCH] Add an overlay to the flake. --- flake.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/flake.nix b/flake.nix index e2f15af..a3abc5c 100644 --- a/flake.nix +++ b/flake.nix @@ -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; };