OpenClaw: documents from local path, rebuild workaround, forgejo-cli
- Documents (SOUL/TOOLS/AGENTS) from path input to openclaw-documents-repo - Flake: openclaw-documents.url = path to local clone (no SSH under sudo) - Remove in-repo openclaw-documents; add docs/openclaw-documents.md - openclaw.nix: activation backup + force for openclaw.json (TODO to remove) - home.nix: add forgejo-cli - .gitignore: openclaw-documents-repo; drop SOUL/TOOLS ignores - AGENTS.md: OpenClaw docs ref - TODO: remove OpenClaw activation/force bloat Made-with: Cursor
This commit is contained in:
parent
e4dd491359
commit
0eb9d0e8ed
9 changed files with 79 additions and 29 deletions
|
|
@ -20,6 +20,8 @@
|
|||
disko.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
nix-openclaw.url = "github:openclaw/nix-openclaw";
|
||||
# OpenClaw SOUL/TOOLS and other docs. Absolute path to local clone (no SSH under sudo).
|
||||
openclaw-documents.url = "path:/Users/danny/dotfiles/openclaw-documents-repo";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
|
|
@ -32,6 +34,7 @@
|
|||
zen-browser,
|
||||
disko,
|
||||
nix-openclaw,
|
||||
openclaw-documents,
|
||||
...
|
||||
}: {
|
||||
nixosConfigurations = {
|
||||
|
|
@ -92,7 +95,7 @@
|
|||
|
||||
# macOS (nix-darwin) configuration
|
||||
darwinConfigurations."Daniel-Macbook-Air" = nix-darwin.lib.darwinSystem {
|
||||
specialArgs = { inherit zen-browser nix-openclaw; };
|
||||
specialArgs = { inherit zen-browser nix-openclaw openclaw-documents; };
|
||||
modules = [
|
||||
./hosts/macos.nix
|
||||
./fish.nix
|
||||
|
|
@ -104,13 +107,13 @@
|
|||
|
||||
# Home Manager on macOS
|
||||
home-manager.darwinModules.home-manager
|
||||
({ lib, zen-browser, nix-openclaw, ... }: {
|
||||
({ lib, zen-browser, nix-openclaw, openclaw-documents, ... }: {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
# Automatically backup files before home-manager overwrites them
|
||||
home-manager.backupFileExtension = "backup";
|
||||
# Pass flake inputs to home-manager modules (e.g. home.nix)
|
||||
home-manager.extraSpecialArgs = { inherit zen-browser; };
|
||||
home-manager.extraSpecialArgs = { inherit zen-browser openclaw-documents; };
|
||||
home-manager.users.danny = { ... }: {
|
||||
|
||||
# Force an absolute path even if another module sets a bad value.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue