feat!: add daemon to build & especially cache

This commit is contained in:
Technofab 2023-06-09 16:36:29 +02:00
parent bd1cfe94a4
commit 92f3560899
No known key found for this signature in database
GPG key ID: A0AA746B951C8830
12 changed files with 93 additions and 17 deletions

10
daemon/entrypoint.sh Normal file
View file

@ -0,0 +1,10 @@
#!/bin/sh
# this needs elevated permissions, as long as docker mounts a volume and not a hostpath the contents get kept without
# needing an overlay mount
# mount -t overlay overlay -o \
# lowerdir=/nix/store,upperdir=/mnt/nix/store/upper,workdir=/mnt/nix/store/workdir \
# /nix/store
nix-daemon