pass persist dir to nullclaw
This commit is contained in:
8
flake.lock
generated
8
flake.lock
generated
@@ -162,16 +162,16 @@
|
|||||||
"zig2nix": "zig2nix"
|
"zig2nix": "zig2nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772565037,
|
"lastModified": 1772597975,
|
||||||
"narHash": "sha256-ToafgQCwxEmV9W+GIZELupvRFJXHRoLwvfyLHrQCk1g=",
|
"narHash": "sha256-IQaA9YwuoCMCCIReN0e9c0QaxsaqpCqrkR6Y7oAgB34=",
|
||||||
"owner": "illustris",
|
"owner": "illustris",
|
||||||
"repo": "nullclaw",
|
"repo": "nullclaw",
|
||||||
"rev": "b558b0429ae4c21df0df0c4708d1c1cb6be10b85",
|
"rev": "bdeba3af06a182516ded2f77384416474df12f97",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "illustris",
|
"owner": "illustris",
|
||||||
"ref": "fix-nix",
|
"ref": "sqlite-on-9p",
|
||||||
"repo": "nullclaw",
|
"repo": "nullclaw",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
url = "github:microvm-nix/microvm.nix";
|
url = "github:microvm-nix/microvm.nix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
nullclaw.url = "github:illustris/nullclaw?ref=fix-nix";
|
nullclaw.url = "github:illustris/nullclaw?ref=sqlite-on-9p";
|
||||||
nix-mcp.url = "github:illustris/nix-mcp";
|
nix-mcp.url = "github:illustris/nix-mcp";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -154,12 +154,19 @@
|
|||||||
mem = 4096;
|
mem = 4096;
|
||||||
extraModules = [({ pkgs, ... }: {
|
extraModules = [({ pkgs, ... }: {
|
||||||
imports = [ self.nixosModules.storeOverlay ];
|
imports = [ self.nixosModules.storeOverlay ];
|
||||||
|
fileSystems."/root" = {
|
||||||
|
device = "/var/lib/nullclaw";
|
||||||
|
options = [ "bind" ];
|
||||||
|
};
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
nullclaw.packages.${system}.default
|
nullclaw.packages.${system}.default
|
||||||
tmux
|
tmux
|
||||||
|
git
|
||||||
];
|
];
|
||||||
})];
|
})];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
crash = {};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user