We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d1e7ea7 + 57c96ff commit 51e8409Copy full SHA for 51e8409
nixos/modules/virtualisation/nixos-containers.nix
@@ -118,7 +118,7 @@ let
118
NIX_BIND_OPT=""
119
if [ -n "$PRIVATE_USERS" ]; then
120
extraFlags+=("--private-users=$PRIVATE_USERS")
121
- if [ "$PRIVATE_USERS" = "pick" ] || ( [ "$PRIVATE_USERS" != "identity" ] && [ "$PRIVATE_USERS" -gt 0 ] ); then
+ if [ "$PRIVATE_USERS" = "pick" ] || { [ "$PRIVATE_USERS" != "identity" ] && [ "$PRIVATE_USERS" -gt 0 ]; }; then
122
# when user namespacing is enabled, we use `idmap` mount option
123
# so that bind mounts under /nix get proper owner (and not nobody/nogroup).
124
NIX_BIND_OPT=":idmap"
0 commit comments