Commit graph

23 commits

Author SHA1 Message Date
ef4b4b7736 feat: add Home Manager refactoring plan and initial structure
- Add comprehensive Home Manager refactoring plan document
- Create initial Home Manager directory structure with user configs
- Add modular Emacs configuration for Home Manager integration
- Update system configurations for Home Manager compatibility
- Preserve existing functionality while preparing for migration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 13:29:04 +02:00
f323e3b909 tring to get laptop to work 2025-07-04 23:14:16 +02:00
e6d3e90d4d waybar nix config 2025-07-04 22:27:40 +02:00
064948a8ba regressed lab-tool to 0.1.0-dev not pretty but it works 2025-07-04 19:47:54 +02:00
251222037d feat(emacs): robust Nix-based Emacs setup with daemon service, improved elisp dev, and full package documentation
- Emacs daemon runs as a systemd service via Nix
- Modular Emacs config with Nix-managed packages (elisp-slime-nav, aggressive-indent, highlight-defined, etc.)
- Keybinding fixes and error handling improvements
- New EMACS_README.md explains ecosystem and troubleshooting
- Nix config: GUI sudo askpass, podman, and desktop tweaks
- All errors from missing packages and keybindings resolved
2025-07-03 20:39:07 +02:00
6558540485 Merge branch 'main' of ssh://git.geokkjer.eu:2222/geir/home-lab 2025-07-03 17:45:51 +02:00
47c2961033 Refactor emacs configuration and clean up lab-tool project
- Reorganized emacs configuration with profiles in modules/development/emacs.nix
- Updated machine configurations to use new emacs module structure
- Cleaned up lab-tool project by removing archive, research, testing, and utils directories
- Streamlined lab-tool to focus on core deployment functionality with deploy-rs
- Added DEVELOPMENT.md documentation for lab-tool

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-03 17:45:34 +02:00
bff56e4ffc We have made an emacs conf with profiles. And refactored lab tool to use deploy-rs 2025-07-03 15:09:33 +02:00
Geir Okkenhaug Jerstad
aa607747c3 feat: added basic structure for searXNG and netdata 2025-07-02 12:45:23 +02:00
Geir Okkenhaug Jerstad
fa5de8f1bb Add fwupd service for firmware updates
Adding fwupd to check if there are firmware updates available
for the ITE8353 touchpad or other components that might help
resolve the touchpad issue.
2025-06-30 19:26:26 +02:00
Geir Okkenhaug Jerstad
51335f144b Try Linux 5.15 LTS kernel for touchpad compatibility
6.1 LTS improved I2C communication significantly, but hidraw device
still not created. Trying 5.15 LTS since laptop worked with older distros.
2025-06-30 19:25:33 +02:00
Geir Okkenhaug Jerstad
497cdced54 Remove udev rules - test with clean LTS kernel configuration
Removing custom udev rules since they weren't needed in earlier
working configurations. Testing with clean 6.1 LTS kernel to see
if touchpad works naturally without interference.
2025-06-30 19:16:25 +02:00
Geir Okkenhaug Jerstad
92a2c73b8a Remove blacklisted modules and test with LTS kernel
The LTS kernel (6.1) is handling the ITE8353 touchpad much better.
Removing blacklisted modules to see if the proper drivers can now
work correctly with the improved kernel support.
2025-06-30 19:15:04 +02:00
Geir Okkenhaug Jerstad
4aa06b1851 Add HID input drivers and document LTS kernel success
LTS kernel 6.1.142 successfully established communication with ITE8353:
- Device properly detected and HID descriptor read
- Input events are being received from touchpad
- Debug output shows device is working at HID level
- Need to bind to proper input driver for touchpad functionality
2025-06-30 19:13:12 +02:00
Geir Okkenhaug Jerstad
4d688d47da Switch to LTS kernel 6.1 for touchpad compatibility
The laptop worked fine with older NixOS and Arch installations,
suggesting a kernel regression in 6.12.x. Switching to LTS
kernel 6.1 to test if this resolves the ITE8353 touchpad issue.
2025-06-30 19:07:32 +02:00
Geir Okkenhaug Jerstad
24b01ae4f0 Blacklist hid_sensor_hub to fix touchpad
The ITE8353 touchpad is still being bound to hid-sensor-hub instead
of hid-multitouch. Blacklisting hid_sensor_hub should force it to
use the proper touchpad driver.
2025-06-30 18:59:15 +02:00
Geir Okkenhaug Jerstad
a0a12e14c8 Fix touchpad by blacklisting AMD SFH driver
Based on dmesg analysis, found that:
- ITE8353 touchpad is detected but bound to hid-sensor-hub
- AMD Sensor Fusion Hub (amd_sfh) is interfering with touchpad
- Error: 'pcie_mp2_amd 0000:02:00.7: amd_sfh_hid_client_init failed err -95'

Blacklisting amd_sfh module should allow touchpad to work properly.
2025-06-30 18:56:00 +02:00
Geir Okkenhaug Jerstad
d5ea2514b4 Add udev rules to force ITE8353 touchpad driver binding
- Add udev rule to unbind from hid-sensor-hub and bind to hid-multitouch
- Add i2c_hid_acpi.probe_defer parameter to help with device detection
- This should fix the touchpad being misidentified as a sensor hub
2025-06-30 18:45:27 +02:00
Geir Okkenhaug Jerstad
e4cbaff3e0 Fix little-rascal touchpad support and update AMD GPU config
- Add ITE8353 touchpad support with I2C HID modules
- Configure libinput for proper touchpad functionality
- Add udev rules for touchpad device permissions
- Simplify AMD GPU config to use open source drivers only
- Remove ROCm and 32-bit support for cleaner configuration
- Add diagnostic script for touchpad troubleshooting
2025-06-30 18:41:06 +02:00
Geir Okkenhaug Jerstad
5c9c5bbbc4 feat: extract seatd service to reusable module with boot log suppression
- Create modules/services/seatd.nix for clean greetd/tuigreet login experience
- Add boot log suppression options to prevent systemd messages on login screen
- Configure kernel parameters and journald to minimize console noise
- Update both little-rascal and congenital-optimist to use new seatd module
- Ensure consistent login experience across all machines
- Maintain compatibility with existing lab tool (binary name: lab)
2025-06-30 14:47:28 +02:00
Geir Okkenhaug Jerstad
5f65abc2cc feat: implement orchestrated auto-update system and fix deployment
- Add sma user module to little-rascal configuration for passwordless deployment
- Replace cosmic-greeter with greetd on both congenital-optimist and little-rascal
- Implement staggered auto-update system that updates remote machines first
- Add proper SSH user configuration for secure deployments
- Fix deployment permission issues by configuring admin user access
- Ensure orchestrator machine (congenital-optimist) reboots last to prevent SSH disconnection
- Add comprehensive error handling and update reporting
- Successfully tested lab tool deployment and auto-update on all machines

Fixes the critical issue where orchestrator reboot could break SSH connections
during multi-machine updates.
2025-06-30 14:35:21 +02:00
Geir Okkenhaug Jerstad
3715e542b2 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.
2025-06-30 11:40:31 +02:00
6eac143f57 feat: Add little-rascal laptop config and lab-tool auto-update system
## New Machine: little-rascal
- Add Lenovo Yoga Slim 7 14ARE05 configuration (AMD Ryzen 7 4700U)
- Niri desktop with CLI login (greetd + tuigreet)
- zram swap configuration (25% of RAM with zstd)
- AMD-optimized hardware support and power management
- Based on congenital-optimist structure with laptop-specific additions

## Lab Tool Auto-Update System
- Implement Guile Scheme auto-update module (lab/auto-update.scm)
- Add health checks, logging, and safety features
- Integrate with existing deployment and machine management
- Update main CLI with auto-update and auto-update-status commands
- Create NixOS service module for automated updates
- Document complete implementation in simple-auto-update-plan.md

## MCP Integration
- Configure Task Master AI and Context7 MCP servers
- Set up local Ollama integration for AI processing
- Add proper environment configuration for existing models

## Infrastructure Updates
- Add little-rascal to flake.nix with deploy-rs support
- Fix common user configuration issues
- Create missing emacs.nix module
- Update package integrations

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-27 22:03:54 +02:00