nullclaw: add utils, nix eval cache tmpfs

This commit is contained in:
illustris
2026-03-09 09:47:08 +05:30
parent 9de1c4f85e
commit 5c5fdff4d4
2 changed files with 19 additions and 14 deletions

16
flake.lock generated
View File

@@ -162,18 +162,14 @@
"zig2nix": "zig2nix"
},
"locked": {
"lastModified": 1772597975,
"narHash": "sha256-IQaA9YwuoCMCCIReN0e9c0QaxsaqpCqrkR6Y7oAgB34=",
"owner": "illustris",
"repo": "nullclaw",
"rev": "bdeba3af06a182516ded2f77384416474df12f97",
"type": "github"
"lastModified": 1772682890,
"narHash": "sha256-5Yi88YzbMMbig4xJew46FJenGD11nJrqRcrdtmk8BmI=",
"path": "/home/illustris/src/nullclaw",
"type": "path"
},
"original": {
"owner": "illustris",
"ref": "sqlite-on-9p",
"repo": "nullclaw",
"type": "github"
"path": "/home/illustris/src/nullclaw",
"type": "path"
}
},
"root": {

View File

@@ -12,7 +12,8 @@
url = "github:microvm-nix/microvm.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
nullclaw.url = "github:illustris/nullclaw?ref=sqlite-on-9p";
# nullclaw.url = "github:illustris/nullclaw?ref=sqlite-on-9p";
nullclaw.url = "path:///home/illustris/src/nullclaw";
nix-mcp.url = "github:illustris/nix-mcp";
};
@@ -154,14 +155,22 @@
mem = 4096;
extraModules = [({ pkgs, ... }: {
imports = [ self.nixosModules.storeOverlay ];
fileSystems."/root" = {
fileSystems = {
"/root" = {
device = "/var/lib/nullclaw";
options = [ "bind" ];
};
"/root/.cache/nix" = {
fsType = "tmpfs";
options = [ "size=1G" "mode=0700" ];
};
};
environment.systemPackages = with pkgs; [
nullclaw.packages.${system}.default
tmux
git
strace
bpftrace
];
})];
};