aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-05-26 14:19:24 -0300
committerEuAndreh <eu@euandre.org>2019-05-26 14:19:24 -0300
commit4934652434a1b52054198f276c25befc7328d031 (patch)
treebede42ce6dbb4597e4af0dfe62e37f79b1366349
parentChange ownership to build instead of root of /nix (diff)
downloadserver-4934652434a1b52054198f276c25befc7328d031.tar.gz
server-4934652434a1b52054198f276c25befc7328d031.tar.xz
Perform single-user installation of Nix
-rw-r--r--.build.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.build.yml b/.build.yml
index 4e13041..087b6da 100644
--- a/.build.yml
+++ b/.build.yml
@@ -13,9 +13,7 @@ secrets:
- 7084b7c7-12be-4509-8927-81ba6eeb1fc0
tasks:
- setup: |
- sudo mkdir -m 0755 /nix
- sudo chown -R build /nix
- curl https://nixos.org/nix/install | sh
+ sh <(curl https://nixos.org/nix/install) --no-daemon
echo '. ~/.nix-profile/etc/profile.d/nix.sh' >> ~/.buildenv
cd vps/
git crypt unlock