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:
parent
b3e96fdf66
commit
3da5c1a322
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue