diff --git a/ops/nixos/camden/default.nix b/ops/nixos/camden/default.nix index 1039cb2a2..c8399376c 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)