Add jail to flake.nix

Inspired by
https://dev.to/andersonjoseph/how-i-run-llm-agents-in-a-secure-nix-sandbox-1899
This commit is contained in:
2026-04-01 11:45:38 +00:00
parent 28ffd61581
commit 979c1aa080
2 changed files with 17 additions and 0 deletions

16
flake.lock generated
View File

@@ -217,6 +217,21 @@
"type": "github"
}
},
"jail-nix": {
"locked": {
"lastModified": 1770418571,
"narHash": "sha256-EzQUbe1gwW/xpJoMuMeblWcjAEF+F92cz/enz0Mz/qo=",
"owner": "~alexdavid",
"repo": "jail.nix",
"rev": "c141cf8cc68617625b4a28a7d8ce0a35904815d5",
"type": "sourcehut"
},
"original": {
"owner": "~alexdavid",
"repo": "jail.nix",
"type": "sourcehut"
}
},
"nix-homebrew": {
"inputs": {
"brew-src": "brew-src"
@@ -273,6 +288,7 @@
"fw_nix": "fw_nix",
"git-hooks": "git-hooks_2",
"home-manager": "home-manager",
"jail-nix": "jail-nix",
"nix-homebrew": "nix-homebrew",
"nixpkgs": "nixpkgs",
"nixpkgs-screen": "nixpkgs-screen",

View File

@@ -30,6 +30,7 @@
url = "github:cachix/git-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
jail-nix.url = "sourcehut:~alexdavid/jail.nix";
};
outputs =