mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-21 21:50:43 -06:00
determinate permissions issue again
This commit is contained in:
parent
fd02d7a3e3
commit
10ec087e7b
1 changed files with 2 additions and 1 deletions
3
.github/actions/nix/prepare.sh
vendored
3
.github/actions/nix/prepare.sh
vendored
|
@ -45,7 +45,8 @@ Linux)
|
||||||
sudo mkfs.btrfs --data raid0 /dev/loop6 /dev/loop7
|
sudo mkfs.btrfs --data raid0 /dev/loop6 /dev/loop7
|
||||||
sudo mkdir /nix
|
sudo mkdir /nix
|
||||||
sudo mount -t btrfs -o compress=zstd /dev/loop6 /nix
|
sudo mount -t btrfs -o compress=zstd /dev/loop6 /nix
|
||||||
sudo chown "${RUNNER_USER}:" /nix
|
# issue with determinate installer?
|
||||||
|
# sudo chown "${RUNNER_USER}:" /nix
|
||||||
elif [ "$(findmnt -bno size /mnt)" -gt 20000000000 ]; then
|
elif [ "$(findmnt -bno size /mnt)" -gt 20000000000 ]; then
|
||||||
df -h -x tmpfs
|
df -h -x tmpfs
|
||||||
echo "/mnt is large, bind mount /mnt/nix"
|
echo "/mnt is large, bind mount /mnt/nix"
|
||||||
|
|
Loading…
Reference in a new issue