A place to host my own nix packages
Just add this repo as an input
{
# ...
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
atomicptr.url = "github:atomicptr/nix";
# ...
};
# ...
}
Just fetch and import the repository:
let
atomicptr = import (fetchGit { url = "http://github.com/atomicptr/nix.git"; }) {
pkgs = import <nixpkgs> {
config = {
allowUnfree = true;
};
};
};
in
{
environment.systemPackages = with pkgs; [
atomicptr.PACKAGE_NAME
];
}