aboutsummaryrefslogtreecommitdiffstats
path: root/nix/module.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/module.nix')
-rw-r--r--nix/module.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nix/module.nix b/nix/module.nix
index a273d45..10623d1 100644
--- a/nix/module.nix
+++ b/nix/module.nix
@@ -144,6 +144,8 @@ let
run-dir = cfg.runDir;
# Started again by --apply if it failed (for want of the state, at boot).
unit = "enstate.service";
+ # Validators and renderers run in it.
+ sandbox = "${pkgs.bubblewrap}/bin/bwrap";
};
enstate = lib.getExe cfg.package;