pass persist dir to nullclaw
This commit is contained in:
@@ -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 = {};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user