Add nono sandbox for AI agents

This commit is contained in:
2026-02-02 15:59:18 +00:00
parent 5648ea6c54
commit b6fdd922ba
7 changed files with 47 additions and 0 deletions

17
flake.lock generated
View File

@@ -548,6 +548,22 @@
"type": "github"
}
},
"nono": {
"flake": false,
"locked": {
"lastModified": 1770047555,
"narHash": "sha256-BL1lBZYs6bsjk/+g+Zc2lUjErlvgYYJQqYEKLUjvtVU=",
"owner": "lukehinds",
"repo": "nono",
"rev": "8d382fbc0b21ad06d255a97000d876c15b5dea09",
"type": "github"
},
"original": {
"owner": "lukehinds",
"repo": "nono",
"type": "github"
}
},
"root": {
"inputs": {
"colmena": "colmena",
@@ -564,6 +580,7 @@
"nix-homebrew": "nix-homebrew",
"nixpkgs": "nixpkgs_3",
"nixvim": "nixvim",
"nono": "nono",
"sops-nix": "sops-nix",
"zjstatus": "zjstatus"
}

View File

@@ -45,6 +45,10 @@
flake = false;
};
jj-starship.url = "github:dmmulroy/jj-starship";
nono = {
url = "github:lukehinds/nono";
flake = false;
};
};
outputs = inputs @ {flake-parts, ...}:

View File

@@ -36,6 +36,7 @@
../../profiles/lazygit.nix
../../profiles/lumen.nix
../../profiles/mise.nix
../../profiles/nono.nix
../../profiles/neovim
../../profiles/opencode.nix
../../profiles/ripgrep.nix

View File

@@ -35,6 +35,7 @@
../../profiles/lazygit.nix
../../profiles/lumen.nix
../../profiles/mise.nix
../../profiles/nono.nix
../../profiles/neovim
../../profiles/opencode.nix
../../profiles/ripgrep.nix

View File

@@ -36,6 +36,7 @@
../../profiles/lazygit.nix
../../profiles/lumen.nix
../../profiles/mise.nix
../../profiles/nono.nix
../../profiles/neovim
../../profiles/opencode.nix
../../profiles/ripgrep.nix

18
overlays/nono.nix Normal file
View File

@@ -0,0 +1,18 @@
{inputs}: final: prev: let
manifest = (prev.lib.importTOML "${inputs.nono}/Cargo.toml").package;
in {
nono = prev.rustPlatform.buildRustPackage {
pname = manifest.name;
version = manifest.version;
cargoLock.lockFile = "${inputs.nono}/Cargo.lock";
src = inputs.nono;
nativeBuildInputs = with prev; [pkg-config];
buildInputs = with prev; [openssl dbus];
OPENSSL_NO_VENDOR = 1;
doCheck = false;
};
}

5
profiles/nono.nix Normal file
View File

@@ -0,0 +1,5 @@
{pkgs, ...}: {
home.packages = with pkgs; [
nono
];
}