This also switches away from nixos-shell in the process as by this
point it wasn't really adding much to our setup except inflexibility.
Signed-off-by: Winter winter@winter.cafe
This also switches away from nixos-shell in the process as by this
point it wasn't really adding much to our setup except inflexibility.
Signed-off-by: Winter winter@winter.cafe
This also switches away from `nixos-shell` in the process as by this
point it wasn't really adding much to our setup except inflexibility.
Signed-off-by: Winter <winter@winter.cafe>
Hm, I'll think about the options here. Thanks!
It's unidiomatic, and doesn't allow extension by way of changing the
systemd service options (like is done in the following commit).
Signed-off-by: Winter <winter@winter.cafe>
This also switches away from `nixos-shell` in the process as by this
point it wasn't really adding much to our setup except inflexibility.
Signed-off-by: Winter <winter@winter.cafe>
Apparently I didn't realize that the knot data was never actually being persisted? I have no clue how that happened -- anyways, fixed now.
how do you mean? the full VM state is stored in nixos.qcow2 by default no?
I meant with this diff applied, I broke the persisting of it to the nix/vm-data directory.
if var == ""
then throw "\$${name} must be defined, see docs/hacking.md for more details"
else var;
can we also bail if lib.inPureEvalMode (or whatever it was called?)
can we update the air-watcher to exclude nix/vm-data directory?
i think port forwards are not setup by default, is there a way to get this behavior back?
can we also bail if
lib.inPureEvalMode(or whatever it was called?)
When both local plc/pds/jetstream and knot service auth land, --impure and those env vars won't be required at all -- are you okay with leaving it like this for now in the interim?
are you okay with leaving it like this for now in the interim?
sure!
Fixed everything else.
It's unidiomatic, and doesn't allow extension by way of changing the
systemd service options (like is done in the following commit).
Signed-off-by: Winter <winter@winter.cafe>
This also switches away from `nixos-shell` in the process as by this
point it wasn't really adding much to our setup except inflexibility.
Signed-off-by: Winter <winter@winter.cafe>
Even though nothing in this folder would match the extensions we watch,
probably makes sense to not even waste the cycles doing so.
Signed-off-by: Winter <winter@winter.cafe>
You could allow the user to set
$TANGLED_VM_DATA_DIRthemself, just in case they want to run the vm from another dir.Also (or perhaps instead), you could specify in the error message that this command must be run from the repo.