aboutsummaryrefslogtreecommitdiffstats
path: root/modules/host/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-25 23:02:17 +0000
committertv <tv@krebsco.de>2026-11-26 00:03:17 +0000
commit23df3da867ec9297f1050dcca14103fddca2153d (patch)
tree19e125547d76c5cbd954a11d547e2012de22b104 /modules/host/default.nix
parent7205cdf2e4bd7c05ee31d98324732b430dbfc53d (diff)
rigs: run-rig, not run-firecracker-vm
The run script starts its VMs in Cloud Hypervisor, too, so it's pkgs/run-rig, and run-rig (also its lock files), and the examples' paths are /path/to/rigs.
Diffstat (limited to 'modules/host/default.nix')
-rw-r--r--modules/host/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/host/default.nix b/modules/host/default.nix
index 6e20219..cfb050a 100644
--- a/modules/host/default.nix
+++ b/modules/host/default.nix
@@ -25,7 +25,7 @@
# whitelist (see egress.lua):
# whole domains get passed through to port 443 of that name, as resolved
# by the host; domains with path rules get decrypted (with certificates
-# from our own CA, which the guests trust, see pkgs/run-firecracker-vm)
+# from our own CA, which the guests trust, see pkgs/run-rig)
# and only matching requests forwarded.
#
# Whitelists are per user and named: /var/lib/fc-egress/USER/LIST, changed
@@ -121,7 +121,7 @@
vmDir = "/run/fc-egress"; # TAP: the name of the VM's list
# List names: no slashes, no dot files.
listName = "[A-Za-z0-9_-]+";
- # VM names (run-firecracker-vm --name, also the guest's host name):
+ # VM names (run-rig --name, also the guest's host name):
# /run/fc-egress/TAP.name, for fc-egress.
vmName = "[A-Za-z0-9][A-Za-z0-9-]{0,62}";
userNames = lib.attrNames users;
@@ -299,7 +299,7 @@ ${lib.concatMapStrings (v: " \"${v.user} ${v.vm}\") vip=${v.ip} vip6=${
};
# Where nginx keeps the CA: ca.key, and ca.pem for the guests (see
- # caCert in pkgs/run-firecracker-vm).
+ # caCert in pkgs/run-rig).
stateDir = "/var/lib/fcbr0-egress";
runDir = "/run/fcbr0-egress";
@@ -320,9 +320,9 @@ ${lib.concatMapStrings (v: " \"${v.user} ${v.vm}\") vip=${v.ip} vip6=${
echo " fc-egress use VM LIST"
echo " fc-egress log [JOURNALCTL-OPTION...]"
echo "LIST is a whitelist's name (default: default); a VM uses the one"
- echo " given to run-firecracker-vm --egress (default: its --name,"
+ echo " given to run-rig --egress (default: its --name,"
echo " or default)"
- echo "VM is a running VM's name (run-firecracker-vm --name) or tap;"
+ echo "VM is a running VM's name (run-rig --name) or tap;"
echo " -v VM means the list it uses"
echo "RULE is https://DOMAIN (with subdomains, not decrypted)"
echo " or https://DOMAIN/PATH (decrypted to check the path: PATH itself,"