pass persist dir to nullclaw

This commit is contained in:
illustris
2026-03-04 09:53:22 +05:30
parent c829e5451b
commit 9de1c4f85e
2 changed files with 12 additions and 5 deletions

View File

@@ -12,7 +12,7 @@
url = "github:microvm-nix/microvm.nix";
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";
};
@@ -154,12 +154,19 @@
mem = 4096;
extraModules = [({ pkgs, ... }: {
imports = [ self.nixosModules.storeOverlay ];
fileSystems."/root" = {
device = "/var/lib/nullclaw";
options = [ "bind" ];
};
environment.systemPackages = with pkgs; [
nullclaw.packages.${system}.default
tmux
git
];
})];
};
crash = {};
};
};
}