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