diff options
| author | Mel <einebeere@gmail.com> | 2024-10-22 17:49:08 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-10-22 17:49:08 +0200 |
| commit | dd47581a5f347ec8070abbd5eee690d599ee95ed (patch) | |
| tree | 25504e4d96719739773929f7edc2b3c4d91a499f /machines | |
| parent | c8a01f9753cc0c074c08855c9a2cb87ed75f369c (diff) | |
| download | minerals-dd47581a5f347ec8070abbd5eee690d599ee95ed.tar.zst minerals-dd47581a5f347ec8070abbd5eee690d599ee95ed.zip | |
Create nix store binary cache from bismuth for slower machines
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'machines')
| -rw-r--r-- | machines/bismuth/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/machines/bismuth/default.nix b/machines/bismuth/default.nix index 8dbdd14..2663703 100644 --- a/machines/bismuth/default.nix +++ b/machines/bismuth/default.nix @@ -13,6 +13,14 @@ networking.hostName = "Bismuth"; + # run binary cache for slower machines + services.nix-serve = { + enable = true; + # note: can we get this value from somewhere? + bindAddress = "100.85.58.31"; # bismuth tailnet ip + secretKeyFile = "/var/bismuth-cache.pem"; + }; + # expose vm web interface to tailnet services.tailscale.extraUpFlags = [ "--advertise-routes=192.168.122.100/32" |
