diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2019-05-04 18:37:21 +0200 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2019-05-04 18:37:21 +0200 |
| commit | 3da5c1a322fcb30d28127f907f39003884ad0a4d (patch) | |
| tree | 432f0192f45ff148822ff4b0e1386edaff5f51e1 /modules/examples | |
| parent | b3e96fdf6623dffa666f8de8f442cc1d89c93f60 (diff) | |
lnl: open up per-user paths in sandbox
Diffstat (limited to 'modules/examples')
| -rw-r--r-- | modules/examples/lnl.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/examples/lnl.nix b/modules/examples/lnl.nix index 57445f5..12e3613 100644 --- a/modules/examples/lnl.nix +++ b/modules/examples/lnl.nix @@ -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; |
