nullclaw: add utils, nix eval cache tmpfs
This commit is contained in:
16
flake.lock
generated
16
flake.lock
generated
@@ -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": {
|
||||
|
||||
17
flake.nix
17
flake.nix
@@ -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" = {
|
||||
device = "/var/lib/nullclaw";
|
||||
options = [ "bind" ];
|
||||
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
|
||||
];
|
||||
})];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user