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:
parent
fe45079d19
commit
dcb39d3198
1 changed files with 8 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue