Skip to content

Instantly share code, notes, and snippets.

@samrose
Last active February 14, 2019 19:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samrose/c2068a51c2a9a9e677c7ccf71ecaf459 to your computer and use it in GitHub Desktop.
Save samrose/c2068a51c2a9a9e677c7ccf71ecaf459 to your computer and use it in GitHub Desktop.
self: super:
# This overlay adds this repository as a package to the nixpkgs available
# in all of the modules. This is used to create our custom configuration.nix
# that imports our modules into the NixOS modules
let
callPackage = super.lib.callPackageWith super;
in
{
holoportModules = builtins.path {
name = "holoport-modules";
path = ./.;
filter = (path: type: type != "symlink" || baseNameOf path != ".git");
};
holoport-cloudflared = callPackage ./packages/holoport-cloudflared/cloudflared.nix {};
holoport-rust = callPackage ./packages/holoport-rust.nix {};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment