chore: remove all OpenClaw integration from dotfiles 🔥
OpenClaw is no longer used. Removes flake inputs (nix-openclaw, openclaw-documents), overlays, home-manager modules, config files, docs, and related TODO/gitignore entries.
This commit is contained in:
parent
494bc8a5f4
commit
18ccebc109
11 changed files with 29 additions and 341 deletions
|
|
@ -18,10 +18,6 @@
|
|||
|
||||
disko.url = "github:nix-community/disko";
|
||||
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 = {
|
||||
|
|
@ -33,8 +29,6 @@
|
|||
home-manager,
|
||||
zen-browser,
|
||||
disko,
|
||||
nix-openclaw,
|
||||
openclaw-documents,
|
||||
...
|
||||
}: {
|
||||
nixosConfigurations = {
|
||||
|
|
@ -69,7 +63,22 @@
|
|||
|
||||
sunken-ship = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [ ./hosts/sunken-ship.nix ];
|
||||
modules = [
|
||||
./hosts/sunken-ship.nix
|
||||
|
||||
# Home Manager on NixOS
|
||||
home-manager.nixosModules.home-manager
|
||||
({ lib, ... }: {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.backupFileExtension = "backup";
|
||||
home-manager.users.danny = { ... }: {
|
||||
home.username = "danny";
|
||||
home.homeDirectory = lib.mkForce "/home/danny";
|
||||
home.stateVersion = "25.11";
|
||||
};
|
||||
})
|
||||
];
|
||||
};
|
||||
|
||||
# For disko-install: LUKS + WiFi; hostname/WiFi via --system-config.
|
||||
|
|
@ -95,25 +104,20 @@
|
|||
|
||||
# macOS (nix-darwin) configuration
|
||||
darwinConfigurations."Daniel-Macbook-Air" = nix-darwin.lib.darwinSystem {
|
||||
specialArgs = { inherit zen-browser nix-openclaw openclaw-documents; };
|
||||
specialArgs = { inherit zen-browser; };
|
||||
modules = [
|
||||
./hosts/macos.nix
|
||||
./fish.nix
|
||||
|
||||
# OpenClaw overlay so pkgs.openclaw etc. are available
|
||||
({ nix-openclaw, ... }: {
|
||||
nixpkgs.overlays = [ nix-openclaw.overlays.default ];
|
||||
})
|
||||
|
||||
# Home Manager on macOS
|
||||
home-manager.darwinModules.home-manager
|
||||
({ lib, zen-browser, nix-openclaw, openclaw-documents, ... }: {
|
||||
({ lib, zen-browser, ... }: {
|
||||
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 openclaw-documents; };
|
||||
home-manager.extraSpecialArgs = { inherit zen-browser; };
|
||||
home-manager.users.danny = { ... }: {
|
||||
|
||||
# Force an absolute path even if another module sets a bad value.
|
||||
|
|
@ -121,8 +125,6 @@
|
|||
home.homeDirectory = lib.mkForce "/Users/danny";
|
||||
imports = [
|
||||
./home/danny/home.nix
|
||||
nix-openclaw.homeManagerModules.openclaw
|
||||
./home/danny/openclaw.nix
|
||||
];
|
||||
};
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue