From 774d7a7f22bc36c4554750c9f575b6d7d3c776e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 17 Mar 2019 10:09:48 +0100 Subject: [PATCH] Revert personnal nix path --- nixops/modules/pub/restrict | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nixops/modules/pub/restrict b/nixops/modules/pub/restrict index 6204aa2..b2f3be3 100644 --- a/nixops/modules/pub/restrict +++ b/nixops/modules/pub/restrict @@ -2,7 +2,6 @@ user="$1" rootuser="$HOME/$user/" mkdir -p $rootuser -mkdir -p $HOME/$user-nixstore orig="$SSH_ORIGINAL_COMMAND" if [ -z "$orig" ]; then @@ -29,7 +28,6 @@ rsync*) set -euo pipefail (exec -c bwrap --ro-bind /usr /usr \ - --bind /var/lib/pub/$user-nixstore /nix \ --args 10 \ --dir /tmp \ --dir /var \ @@ -46,7 +44,6 @@ rsync*) --bind /var/lib/pub/$user /var/lib/pub \ --dir /var/lib/commons \ --ro-bind $TMUX_RESTRICT /var/lib/commons/tmux.restrict.conf \ - --file 9 /var/lib/commons/nix-dump \ --chdir /var/lib/pub \ --unshare-all \ --share-net \ @@ -60,7 +57,6 @@ rsync*) --file 11 /etc/passwd \ --file 12 /etc/group \ -- $orig) \ - 9< <(nix-store --dump-db) \ 10< <(nix_store_paths) \ 11< <(getent passwd $UID 65534) \ 12< <(getent group $(id -g) 65534) -- 2.41.0