feat: add little-rascal laptop configuration and deployment
- Add complete NixOS configuration for little-rascal laptop - Include Niri window manager and CLI-focused setup - Add hardware configuration for laptop hardware - Include deployment script for little-rascal - Update flake.nix to include little-rascal as build target - Add deploy-rs configuration for little-rascal deployment The little-rascal laptop is now fully integrated into the Home Lab infrastructure with complete NixOS configuration management.
This commit is contained in:
parent
f42bae513c
commit
3715e542b2
6 changed files with 355 additions and 46 deletions
37
flake.nix
37
flake.nix
|
@ -104,6 +104,7 @@
|
|||
nixpkgs-fmt
|
||||
git
|
||||
emacs
|
||||
unstable.claude-code # Claude Code CLI for AI assistance
|
||||
];
|
||||
shellHook = ''
|
||||
echo "Home-lab development environment"
|
||||
|
@ -116,6 +117,11 @@
|
|||
echo ""
|
||||
echo "Build with: nixos-rebuild build --flake .#<config>"
|
||||
echo "Switch with: nixos-rebuild switch --flake .#<config>"
|
||||
echo ""
|
||||
echo "Available tools:"
|
||||
echo " - claude-code: Claude AI CLI assistant"
|
||||
echo " - nixd: Nix language server"
|
||||
echo " - alejandra: Nix formatter"
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -133,6 +139,37 @@
|
|||
echo "Tangle dotfiles with: emacs --batch -l org --eval \"(org-babel-tangle-file \\\"README.org\\\")\""
|
||||
'';
|
||||
};
|
||||
|
||||
# AI development shell with Claude Code and related tools
|
||||
ai = nixpkgs.legacyPackages.${system}.mkShell {
|
||||
buildInputs = with nixpkgs.legacyPackages.${system}; [
|
||||
unstable.claude-code
|
||||
git
|
||||
emacs
|
||||
nixd
|
||||
alejandra
|
||||
curl
|
||||
jq
|
||||
tree
|
||||
];
|
||||
shellHook = ''
|
||||
echo "AI Development Environment"
|
||||
echo "Available tools:"
|
||||
echo " - claude-code: Claude AI CLI assistant"
|
||||
echo " - git: Version control"
|
||||
echo " - emacs: Text editor"
|
||||
echo " - curl/jq: API testing tools"
|
||||
echo " - tree: Directory structure visualization"
|
||||
echo ""
|
||||
echo "Claude Code usage:"
|
||||
echo " claude-code --help # Show help"
|
||||
echo " claude-code chat # Start interactive chat"
|
||||
echo " claude-code apply # Apply code suggestions"
|
||||
echo ""
|
||||
echo "Configure Claude Code with your API key:"
|
||||
echo " claude-code config set api-key YOUR_API_KEY"
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
# Overlays for package customizations
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue