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
···
···
···-url = "https://github.com/Mic92/nixos-shell/commit/113e4cc55ae236b5b0b1fbd8b321e9b67c77580e.patch";···
···+rootDir=$(jj --ignore-working-copy root || git rev-parse --show-toplevel) || (echo "error: can't find repo root?"; exit 1)···
·········-"f+ /var/lib/knot/secret 0660 ${u} ${g} - KNOT_SERVER_SECRET=${envVar "TANGLED_VM_KNOT_SECRET"}"···
·········+secretFile = builtins.toFile "knot-secret" ("KNOT_SERVER_SECRET=" + (envVar "TANGLED_VM_KNOT_SECRET"));···+spindle = mkDataSyncScripts "/mnt/spindle-data" (builtins.dirOf config.services.tangled-spindle.server.dbPath);