Improve nix settings for sandboxed workspaces
All checks were successful
Check Flake / check-flake (push) Successful in 1m15s

This commit is contained in:
2026-02-14 11:29:02 -08:00
parent 99ef62d31a
commit 3d08a3e9bc
2 changed files with 4 additions and 0 deletions

View File

@@ -114,6 +114,7 @@ in
# Enable flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.trusted-users = [ "googlebot" ];
# Make nixpkgs available in NIX_PATH and registry (like the NixOS ISO)
# This allows `nix-shell -p`, `nix repl '<nixpkgs>'`, etc. to work