Add overay & nixosModule

This commit is contained in:
niten 2022-11-10 08:58:48 -08:00
parent 7746c295fb
commit 7ca124cd22
1 changed files with 8 additions and 1 deletions

View File

@ -35,5 +35,12 @@
devShells.default =
pkgs.mkShell { buildInputs = with pkgs; [ updateDeps ]; };
});
}) // {
overlays.default =
(final: prev: { krb5-keygen = self.packages.krb5-keygen; });
nixosModules = rec {
default = krb5-keygen;
krb5-keygen.config.nixpkgs.overlays = [ self.overlays.default ];
};
};
}