1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

fix(nix): turn on sandbox

This commit is contained in:
Ryan Cao 2024-01-28 10:15:42 +08:00
parent e5c410b766
commit 3b05cb46a1
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E

View file

@ -19,11 +19,13 @@ in {
nix.settings = {
experimental-features = "nix-command flakes";
build-users-group = "nixbld";
trusted-users = ["ryanccn"];
auto-optimise-store = true;
extra-platforms = ["x86_64-darwin" "aarch64-darwin"];
sandbox = true;
build-users-group = "nixbld";
trusted-users = ["ryanccn"];
extra-substituters = [
"https://nix-community.cachix.org"
"https://crane.cachix.org"