1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-05 08:17:01 +00:00

lnl: open up per-user paths in sandbox

This commit is contained in:
Daiderd Jordan 2019-05-04 18:37:21 +02:00
parent b3e96fdf66
commit 3da5c1a322
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -124,7 +124,11 @@
environment.etc."nix/user-sandbox.sb".text = ''
(version 1)
(allow default)
(deny file-write* (subpath "/nix"))
(deny file-write*
(subpath "/nix"))
(allow file-write*
(subpath "/nix/var/nix/gcroots/per-user")
(subpath "/nix/var/nix/profiles/per-user"))
'';
# programs.vim.enable = true;