feat(ops/nixos/camden): Index nixpkgs in hound

There is a local nixpkgs clone at /var/git/nixpkgs which must be
manually set to have 'master' point at the desired ref (hound only
supports master).
This commit is contained in:
Vincent Ambo 2020-05-26 11:52:42 +01:00
parent fe45079d19
commit dcb39d3198

View file

@ -253,6 +253,14 @@ in lib.fix(self: {
anchor = "#n{line}";
};
};
repos.nixpkgs = {
url = "file:///var/git/nixpkgs";
vcs = "git";
url-pattern = {
base-url = "https://github.com/NixOS/nixpkgs/blob/${pkgs.nixpkgsCommit}/{path}{anchor}";
anchor = "#L{line}";
};
};
};
# serve my website(s)