refactor(ops/nixos): Ensure that pkgs == depot.third_party.nixpkgs

This is currently done ad-hoc in a bunch of our systems, but we should
just do it centrally.

The commit message is a bit of a lie, as this doesn't yet update
grfn's systems.

Change-Id: Ic771c1a1da78ec5de9cffbf94c296dce5e11fd84
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3047
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
Vincent Ambo 2021-04-19 23:58:11 +02:00 committed by tazjin
parent d485ebf01a
commit 5f19e8e6a7
4 changed files with 22 additions and 42 deletions

View file

@ -61,17 +61,10 @@ in lib.fix(self: {
nix = {
maxJobs = 48;
nixPath = [
"depot=/depot"
"nixpkgs=${pkgs.path}"
];
binaryCaches = ["ssh://nix-ssh@whitby.tvl.fyi"];
binaryCachePublicKeys = ["cache.tvl.fyi:fd+9d1ceCPvDX/xVhcfv8nAa6njEhAGAEe+oGJDEeoc="];
};
nixpkgs.pkgs = pkgs;
networking = {
hostName = "frog";
useDHCP = true;