dotfiles/lib/deploy.nix

18 lines
371 B
Nix

{inputs, ...}: let
inherit (inputs) nixpkgs deploy-rs;
in {
mkPkgs = system:
import nixpkgs {
inherit system;
overlays = [
deploy-rs.overlay
(_self: super: {
deploy-rs = {
inherit (nixpkgs.legacyPackages."${system}") deploy-rs;
inherit (super.deploy-rs) lib;
};
})
];
};
}