diff options
Diffstat (limited to 'ops/nixos/camden')
-rw-r--r-- | ops/nixos/camden/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ops/nixos/camden/default.nix b/ops/nixos/camden/default.nix index 1039cb2a212b..c8399376c2ef 100644 --- a/ops/nixos/camden/default.nix +++ b/ops/nixos/camden/default.nix @@ -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) |