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.
1 parent 04cd269 commit dc541b4Copy full SHA for dc541b4
nixos-modules/host/default.nix
@@ -97,7 +97,8 @@ in
97
''
98
# Make sure that the sources of the shares can be accessed.
99
# Also ignore failures of each command for now
100
- + builtins.foldl' (acc: share: acc + ''
+ + builtins.foldl' (acc: share:
101
+ acc + lib.optionalString (share.source != "/nix/store") ''
102
# Initialize permissions for share with mountPoint ${share.mountPoint}
103
mkdir -p '${share.source}' || :
104
chown -hR ${user}:${group} '${share.source}' || :
0 commit comments