Commit graph

599 commits

Author SHA1 Message Date
5075593ce0 feat(nix): add supported search formats to Searx config
- Added `html`, `json`, and `rss` to the `search.formats` list in `searx.nix`.
- Enhances flexibility by allowing multiple output formats for search results.
2026-02-06 13:45:18 +01:00
7f802aaca6 feat(nix): refactor Searx configuration into separate module
- Moved Searx-related settings from `default.nix` and `nginx.nix` to a dedicated `searx.nix` module for improved modularity and maintainability.
- Updated references and ACME certificate configuration to align with the new structure.
- Simplifies management of Searx service and its associated secrets.
2026-02-06 13:27:29 +01:00
3a66722da1 feat(sops): update encrypted secret key for Searx
- Updated the `searx.yaml` file with a new Sops-encrypted `secret_key`.
- Adjusted the `lastmodified` and `mac` fields to reflect the changes.
- Ensures continued secure management of Searx's sensitive data.
2026-02-06 13:13:43 +01:00
4df09fe462 feat(sops): add encrypted secret key for Searx integration
- Introduced a Sops-encrypted `searx.yaml` file containing the `secret_key`.
- Ensures secure management of sensitive data for the Searx service.
- Configured multi-recipient encryption to maintain access flexibility.
2026-02-06 13:10:41 +01:00
ba985dc3fd feat(nix): add Sops secret and update Searx configuration
- Added a new Sops secret for `searx/secret_key` with a corresponding configuration path.
- Updated Searx settings to include the `secret_key` reference.
- Ensures secure integration of secret management with Searx service.
2026-02-06 13:09:38 +01:00
6597561ec4 feat(nix): add uwsgi configuration for search.hoyer.world
- Introduced `uwsgiConfig` section in the Searx configuration for `search.hoyer.world`.
- Configures uWSGI to listen on port `8081` for HTTP requests.
2026-02-06 12:55:36 +01:00
437cb4b606 feat(nginx): add new search.hoyer.world virtual host
- Introduced Nginx configuration for the `search.hoyer.world` domain.
- Ensures SSL enforcement and proper proxy settings for the new subdomain.
2026-02-06 12:51:24 +01:00
14c9a4f084 feat(nix): add new domain to ACME certificate
- Added `search.hoyer.world` to the `extraDomainNames` list for the `internal.hoyer.world` ACME certificate.
- Ensures proper SSL configuration for the new subdomain.
2026-02-06 11:43:37 +01:00
958175fb01 feat(nix): enable Searx and configure Nginx for domain
- Added Searx service with Nginx configuration for the domain `search.hoyer.world`.
2026-02-06 11:40:10 +01:00
4bc62866a8 feat(nix): update claude-code package and dependencies
- Upgraded `claude-code` to version 2.1.34 and updated associated npm dependencies and hash values.
- Refactored `update.sh` to use `nix shell` instead of `nix-shell` for improved compatibility.
- Added musl-based `sharp` dependencies and adjusted sandbox requirements in `package.nix`.
2026-02-06 08:57:49 +01:00
9b42e808d3 feat(bot): refactor system prompt and enhance CLI command
- Replaced `DEFAULT_SYSTEM_PROMPT` with `BOT_SYSTEM_PROMPT` for clarity and modularity.
- Introduced a `build_system_prompt` function to dynamically compose prompts.
- Enhanced `call_claude` CLI with new tool options and appendable prompts.
2026-02-04 09:11:08 +01:00
f25aab2441 feat(bot): improve prompt-building and help command handling
- Added a default system prompt and adjusted the structure to use XML for clarity.
- Improved help command handling by simplifying triggers and updating responses.
- Enhanced NixOS configuration with support for optional custom instructions.
2026-02-03 17:39:31 +01:00
9342933987 feat(bot): switch to in-memory conversation history
- Replaced Nextcloud chat history fetching with in-memory storage for conversation history.
- Added limits to history length based on an environment variable (`CONTEXT_MESSAGES`).
- Simplified prompt-building logic by removing async history fetching.
2026-02-03 17:26:46 +01:00
b35373b0ec feat(bot): replace maxTokens with contextMessages option
- Switched `maxTokens` to `contextMessages` to set chat history length instead of token limit.
- Updated environment variables, NixOS module, and prompt building logic for consistency.
- Removed in-memory conversation history, now fetching from Nextcloud for better scalability.
2026-02-03 17:00:50 +01:00
538d7623be refactor(bot): remove unused max-tokens argument handling
- Simplified the `call_claude` function by removing the unused `MAX_TOKENS` argument handling.
- Ensures cleaner and more maintainable command construction.
2026-02-03 16:30:47 +01:00
1f61a0d1ec feat(bot): refactor webhook parsing for better structure
- Updated webhook parsing to align with the latest Nextcloud Talk Bot format.
- Improved handling of actor, message, and conversation data for clarity and flexibility.
- Added robust JSON decoding with fallback for content extraction.
2026-02-03 16:29:10 +01:00
77cf4a0aed feat(bot): support random token in signature verification
- Enhanced signature verification by adding support for a `random` token included in webhook headers.
- Introduced logging to display signature variants for debugging purposes.
- Improved webhook handling to process new `X-Nextcloud-Talk-Random` header.
2026-02-03 16:26:37 +01:00
33937ab115 feat(bot): add signature verification logging
- Added info-level logging to provide details about signature verification, including secret length and partial hashes for expected and received signatures.
- Helps in debugging signature mismatches without exposing full sensitive data.
2026-02-03 16:23:14 +01:00
d5967cf392 feat(nix): improve Nextcloud Claude Bot security and user setup
- Set `User` and `Group` for the bot service to enhance security and isolation.
- Added system user and group for `claude-bot` with defined home directory.
- Modified secrets ownership to align with the new bot user.
2026-02-03 16:14:21 +01:00
b1370b5fc6 feat(bot): enhance group chat handling and mention detection
- Updated bot to only respond in group chats when explicitly mentioned.
- Added mention detection using regex for "Claude" patterns and cleaned up the message text for processing.
- Improved help message to clarify usage in direct messages and group chats.
2026-02-03 16:09:25 +01:00
8404f0998b refactor(nix): simplify Nextcloud Claude Bot packaging
- Replaced `buildPythonApplication` with `python3.withPackages` for a cleaner and more concise implementation.
- Adjusted service configuration to use the updated packaging structure, ensuring compatibility with the new setup.
- Simplifies the NixOS module by reducing redundancy and improving maintainability.
2026-02-03 15:54:01 +01:00
bc6091f63f feat(nix): add Nextcloud Claude Bot integration
- Added configuration for Nextcloud Claude Bot, including NixOS module, secrets management, and example setup files.
- Introduced a Python-based HTTP server for handling webhook events and interacting with Nextcloud Talk.
- Integrated necessary dependencies and systemd service for seamless operation.
2026-02-03 15:42:56 +01:00
eb10ad018f chore(nix): update flake.lock
- Updated flake.lock to incorporate the latest revisions for locked dependencies.
- Includes updates for `homebrew`, `sops-nix`, `nixos-hardware`, `rust-overlay`, and more.
- Ensures the system remains aligned with the most recent upstream changes.
2026-01-30 11:53:03 +01:00
0523639f2a feat(nix): add nvtop package to amd system
- Added `nvtopPackages.amd` to the package list for better GPU monitoring on AMD systems.
- Enhances system configuration by enabling real-time visualization of GPU usage.
2026-01-30 11:52:59 +01:00
4622c52d5b refactor(nix): extract common system configs into reusable modules
Create 6 new NixOS modules to reduce duplication across system configs:
- hardware/wooting: Wooting keyboard udev rules and Bluetooth compat
- services/nginx-base: Common nginx server settings
- services/acme-base: ACME certificate defaults
- services/xremap: Key remapping with sensible defaults
- system/no-sleep: Disable sleep/suspend/hibernate targets
- system/kernel-tweaks: PM freeze timeout and zram configuration

Update system configuration files to use these new modules.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 10:42:09 +01:00
ea849f2488 feat(nix): add kernel and memory tuning for amd system
Tune sysctl parameters for better I/O and memory performance:
- Lower swappiness to reduce disk swapping with zram
- Reduce vfs_cache_pressure to keep filesystem caches longer
- Adjust dirty page writeback ratios for SSD performance
- Configure zram with zstd compression

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 00:53:39 +01:00
a28cd7948c feat(nix): replace GNOME Terminal with GNOME Console
- Updated `favorite-apps` to include `org.gnome.Console.desktop` instead of `org.gnome.Terminal.desktop`.
- Aligns configuration with the newer GNOME Console application, providing a modern terminal experience.
2026-01-28 09:17:08 +01:00
008948d61e feat(nix): fix gnome-console copy-paste shortcuts
- Added a patch to enable copy and paste shortcuts in gnome-console through `default.nix`.
- Improves usability by addressing missing shortcut actions for terminal interactions.
2026-01-28 09:16:13 +01:00
c3bbcd9baa feat(nix): enable Vim clipboard integration
- Added `set clipboard=unnamedplus` to Vim configuration in `default.nix`.
- Enables seamless clipboard access between Vim and the system for improved usability.
2026-01-27 10:57:17 +01:00
bc6d70401e refactor(nix): remove freerdp from unstable overlay
- Deleted the `freerdp` package from the `unst
2026-01-26 17:48:41 +01:00
1367fdf1e4 refactor(nix): comment out gnome-remote-desktop override configuration
- Temporarily disabled `gnome-remote-desktop` override in `default.nix` by commenting out the block.
- Removes reliance on a local patch, potentially simplifying the overlay for now.
2026-01-26 17:44:21 +01:00
7f1f1572e3 chore: nix flake update 2026-01-22 11:31:28 +01:00
4060ee4b92 feat(nix): enable Docker and disable Podman compatibility
- Enabled Docker support by setting `docker.enable` to true.
- Disabled Podman's Docker compatibility mode with `podman.dockerCompat`.
- Improves virtualization configuration by prioritizing Docker usage.
2026-01-22 11:28:06 +01:00
31c70d3b26 feat(nix): add ssh-tresor package and flake input
- Included `ssh-tresor` in the package lists for Darwin and NixOS modules.
- Added `ssh-tresor` as a new flake input in `flake.nix` with its overlay.
- Integrates secure SSH key management functionality across configurations.
2026-01-21 13:19:35 +01:00
2f54f6e966 feat(nix): enable Vim with custom configuration
- Enabled Vim in `default.nix` and added custom configuration under `programs.vim`.
- Includes settings for indentation, syntax highlighting, secure mode, and automatic cursor position restoration.
- Improves default usability and aligns with user preferences for Vim.
2026-01-21 13:19:35 +01:00
fce17e443e fix(x1): update filesystem configuration
- Switched root filesystem from Btrfs to XFS for improved performance and simplicity.
- Updated the UUID and mount options accordingly.
- Removed unused Btrfs auto-scrub service as it is no longer required.
2026-01-20 10:44:29 +01:00
d7ec33e70a feat(nix): add git ignore patterns for Claude settings
- Added `**/.claude/settings.local.json` and `CLAUDE.local.md` to Git ignore configuration in `default.nix`.
- Helps exclude machine-specific and local configuration files from version control.
2026-01-20 09:22:00 +01:00
abcc070709 chore(nix): update flake.lock with latest revisions
- Updated multiple dependencies in `flake.lock` to their latest revisions, including `disko`, `flake-parts`, `homebrew-cask`, and others.
- Reflects changes in `lastModified`, `narHash`, and `rev` for updated dependencies.
- Ensures compatibility with the latest upstream updates.
2026-01-19 15:56:21 +01:00
6baf4bcfce chore(nix): update flake.lock to latest nixpkgs revision
- Updated `nixpkgs` revision in `flake.lock` to `72ac591e737060deab2b86d6952babd1f896d7c5`.
- Reflects changes in `lastModified` and `narHash` for the new revision.
2026-01-19 15:54:57 +01:00
22cc56926b refactor(nix): update system attribute usage in deploy modules
- Replaced `host.pkgs.system` with `host.pkgs.stdenv.hostPlatform.system` in `default.nix` for consistent attribute referencing.
- Aligns with recent changes in Nixpkgs attribute structure and improves compatibility.
2026-01-19 15:53:21 +01:00
241eeb7d73 refactor(nix): update system attribute references in overlays
- Replaced `prev.system` with `prev.stdenv.hostPlatform.system` for package inheritance in `flake.nix` overlays.
- Ensures compatibility with changes in the Nixpkgs attribute structure.
2026-01-19 15:52:05 +01:00
db073f32f0 feat(amd): replace Spotify with Cider-2 in program list
- Replaced `spotify.desktop` with `cider-2.desktop` in `default.nix` under the `programs` list.
- Maintains the curated software list with updated preferences.
2026-01-19 15:48:19 +01:00
f1d19768f9 feat(amd): enable Steam in program configuration
- Added support for Steam by enabling it in `default.nix` under `programs.steam`.
- Aligns with the pattern of including widely used software for enhanced functionality.
2026-01-19 14:24:43 +01:00
fac6ac101a refactor(amd): remove commented syncthing configuration
- Deleted unused Syncthing settings block from `default.nix` to clean up the configuration file.
- Simplifies maintenance and reduces clutter by removing legacy, commented-out code.
2026-01-19 14:11:15 +01:00
3ffb44fd8d refactor(amd): remove mitigations kernel parameter
- Dropped `mitigations=off` from `boot.kernelParams` for improved alignment with security best practices.
- Ensures the system maintains mitigations against CPU vulnerabilities by default.
2026-01-19 09:15:45 +01:00
1d2ac15172 feat(amd): add cider-2 to program list
- Added `cider-2` to the `programs` list in `default.nix` for extended functionality.
- Aligns with the existing pattern of including commonly used utilities.
2026-01-19 09:15:04 +01:00
8ea3c78aa0 feat(amd): add kernel parameters for boot configuration
- Added `lockdown=confidentiality`, `quiet`, `splash`, `video=efifb:nobgrt`, and `mitigations=off` to `boot.kernelParams` for improved boot behavior.
- Enhances security, reduces verbosity, and
2026-01-19 09:13:58 +01:00
ee04de2655 fix(amd): cleanup progs 2026-01-18 14:44:10 +01:00
1390baf77e add util-linux 2026-01-18 14:43:52 +01:00
13bacc1ef1 refactor(amd): remove duplicate ccache settings
ccache is already enabled by metacfg.build module

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 19:21:03 +01:00