aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/nix
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-07-02 15:08:54 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-07-02 15:08:54 +0100
commit39a6d2b472c6f9026332a562dc759e62c837d37e (patch)
tree2b8bec0438eb77d672081ea9d91cb647b70ecdf5 /nix
parent04395ecffd668052f43095d4912e4d651de4f471 (diff)
downloaddotfiles-39a6d2b472c6f9026332a562dc759e62c837d37e.tar.gz
dotfiles-39a6d2b472c6f9026332a562dc759e62c837d37e.tar.bz2
dotfiles-39a6d2b472c6f9026332a562dc759e62c837d37e.zip
Add aibox to Nix profile
Diffstat (limited to 'nix')
-rw-r--r--nix/common.nix1
-rw-r--r--nix/flake.lock21
-rw-r--r--nix/flake.nix14
3 files changed, 33 insertions, 3 deletions
diff --git a/nix/common.nix b/nix/common.nix
index c256aa2..c0df431 100644
--- a/nix/common.nix
+++ b/nix/common.nix
@@ -144,6 +144,7 @@
codex # OpenAI Codex CLI
github-copilot-cli # `copilot`; prebuilt-binary derivation since 1.0.43
tuicr # interactive git-change reviewer; flake input, see nix/flake.nix. Skill: dot_claude/skills/tuicr/
+ aibox # Bubblewrap sandbox for AI coding agent sessions; flake input, see nix/flake.nix
# ── LSPs / formatters / linters / DAPs ─────────────────────────────────
# LSPs
diff --git a/nix/flake.lock b/nix/flake.lock
index d6da48c..9560d36 100644
--- a/nix/flake.lock
+++ b/nix/flake.lock
@@ -1,5 +1,25 @@
{
"nodes": {
+ "aibox": {
+ "inputs": {
+ "nixpkgs": [
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1783000830,
+ "narHash": "sha256-kirV4VfygesheYriVVGmuAA/1hpDP8nW5n97H5hLofg=",
+ "owner": "ruifm",
+ "repo": "aibox",
+ "rev": "e072ae5e8342db6a896ee913304b59332ee1bfdf",
+ "type": "github"
+ },
+ "original": {
+ "owner": "ruifm",
+ "repo": "aibox",
+ "type": "github"
+ }
+ },
"fenix": {
"inputs": {
"nixpkgs": [
@@ -85,6 +105,7 @@
},
"root": {
"inputs": {
+ "aibox": "aibox",
"home-manager": "home-manager",
"nixpkgs": "nixpkgs",
"tuicr": "tuicr"
diff --git a/nix/flake.nix b/nix/flake.nix
index 7c7daa6..1a60566 100644
--- a/nix/flake.nix
+++ b/nix/flake.nix
@@ -19,6 +19,10 @@
url = "github:agavra/tuicr";
inputs.nixpkgs.follows = "nixpkgs";
};
+ aibox = {
+ url = "github:ruifm/aibox";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
};
outputs =
@@ -27,6 +31,7 @@
nixpkgs,
home-manager,
tuicr,
+ aibox,
...
}:
let
@@ -34,9 +39,12 @@
pkgs = import nixpkgs {
inherit system;
overlays = [
- # Expose `pkgs.tuicr` so common.nix can list it next to other
- # packages without threading inputs into every module.
- (final: prev: { tuicr = tuicr.packages.${system}.default; })
+ # Expose external flake packages so common.nix can list them next to
+ # nixpkgs packages without threading inputs into every module.
+ (final: prev: {
+ tuicr = tuicr.packages.${system}.default;
+ aibox = aibox.packages.${system}.default;
+ })
];
# Whitelist specific unfree packages (claude-code,
# github-copilot-cli) instead of globally setting allowUnfree,