From c11d0282277419219865d9f05303d485220e9ad5 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Fri, 24 Jun 2022 21:48:01 +0200 Subject: machines/sternenseemann: use local depot checkout if available This allows for quickly iterating on the config without too much hassle at the cost of higher build times if I'm to negligent about updating pkgs/tvl. --- machines/sternenseemann/base.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'machines/sternenseemann') diff --git a/machines/sternenseemann/base.nix b/machines/sternenseemann/base.nix index 765bfbf5..6c432a18 100644 --- a/machines/sternenseemann/base.nix +++ b/machines/sternenseemann/base.nix @@ -26,7 +26,19 @@ in { }; }; - nixpkgs.config.allowUnfree = true; + nixpkgs = { + config.allowUnfree = true; + # Use local depot if rebuilding on a machine where it's available + overlays = lib.optionals (builtins.pathExists "/home/lukas/src/depot") [ + (self: super: { + vuizvui = super.vuizvui // { + tvl = super.vuizvui.tvl.override { + tvlSrc = /home/lukas/src/depot; + }; + }; + }) + ]; + }; services.journald.extraConfig = lib.mkDefault "SystemMaxUse=500M"; -- cgit 1.4.1