diff options
author | sternenseemann <sternenseemann@systemli.org> | 2022-06-24 21:48:01 +0200 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2022-06-24 21:49:28 +0200 |
commit | c11d0282277419219865d9f05303d485220e9ad5 (patch) | |
tree | 2ab1246c8f4c51e825141fda5e331475badc779a | |
parent | 7f85d2d40fd3c97743da6f7513f7882a708547f3 (diff) |
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.
-rw-r--r-- | machines/sternenseemann/base.nix | 14 |
1 files changed, 13 insertions, 1 deletions
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"; |