Commit graph

180 commits

Author SHA1 Message Date
Harald Hoyer 8d019af0c3 fix(config): update OLLAMA_API_BASE_URL to new local URL
- Changed OLLAMA_API_BASE_URL from "m4.fritz.box" to "m4.local".
- Ensures proper connectivity with the updated local network setup.
2025-02-22 09:02:55 +01:00
Harald Hoyer ff76b9045e feat(network): enable LLMNR and MulticastDNS in SGX config
- Enabled LLMNR to allow link-local name resolution.
- Enabled MulticastDNS to support service discovery and hostname resolution within local networks.
2025-02-22 08:59:03 +01:00
Harald Hoyer 74a2d0a2e7 feat(network): enable LLMNR and MulticastDNS in SGX config
- Enabled LLMNR to allow link-local name resolution.
- Enabled MulticastDNS to support service discovery and hostname resolution within local networks.
2025-02-22 08:55:07 +01:00
Harald Hoyer d3413a581c feat(sgx): add support for port 5355 in firewall configuration
- Allow TCP and UDP traffic on port 5355 for SGX networking.
- This enhances compatibility with multicast DNS resolution (mDNS).
2025-02-22 08:41:56 +01:00
Harald Hoyer 1235ec9071 feat(network): enable systemd-resolved with custom settings
- Enable systemd-resolved and configure DNSSEC with downgrade option.
- Add extra configuration to allow resolving unicast single-label names.
This improves DNS handling and ensures compatibility for SGX setup.
2025-02-22 08:23:48 +01:00
Harald Hoyer a753a2fbba feat(udev): add new rule for specific hidraw device
Added a udev rule for devices with idVendor 342d and idProduct e4c5. This ensures proper permissions and group access for the specified hidraw device.
2025-02-14 14:30:36 +01:00
Harald Hoyer 81df7dd4aa feat(systems): add custom udev rule for hidraw devices
Introduce a udev rule to properly configure hidraw devices with specific vendor and product
2025-02-04 15:45:32 +01:00
Harald Hoyer 27895a1baf fix(sgx): correct attribute path for Syncthing config
Previously, the `insecureSkipHostcheck` option was incorrectly placed under `settings.options`. This update moves it to the correct path under `settings.gui` to ensure proper configuration behavior.
2025-02-04 10:56:49 +01:00
Harald Hoyer 24688f6ad8 fix(sgx): correct Syncthing configuration key
Adjusts the `insecureSkipHostcheck` setting to align with the proper configuration structure. This resolves a misconfiguration issue in the SGX fileserver Nix file.
2025-02-04 10:51:20 +01:00
Harald Hoyer ffd9445bc5 feat(systems): enable insecure host check for Syncthing GUI
Added `insecureSkipHostcheck` option to Syncthing configuration to bypass host verification for the GUI. This can simplify local testing but may introduce security risks if used improperly.
2025-02-04 10:47:36 +01:00
Harald Hoyer 91d7c6023a feat(nginx): use recommended proxy settings
Replaced `proxyWebsockets` with `recommendedProxySettings` for enhanced configurability and alignment with best practices. This improves maintainability and future compatibility of the nginx configuration.
2025-02-04 10:43:36 +01:00
Harald Hoyer 7e283d9266 feat(sgx): add Syncthing support and configuration updates
Added Syncthing support with proxy and SSL in nginx and updated ACME certs configuration. Adjusted Syncthing GUI to bind to localhost for improved security.
2025-02-04 10:27:02 +01:00
Harald Hoyer 8748f2b80b feat(nginx): enable websocket support in reverse proxy
Enabled `proxyWebsockets` for the nginx reverse proxy configuration to support websocket connections. This ensures compatibility with services requiring websocket communication.
2025-02-04 10:24:41 +01:00
Harald Hoyer 27d5373e2d fix(config): update OLLAMA_API_BASE_URL for local network
Updated the base URL to align with the current local network setup. This ensures proper connectivity and functionality within the specified environment.
2025-02-04 10:11:25 +01:00
Harald Hoyer 35bb52cea3 fix: update OLLAMA_API_BASE_URL to local domain
Changed the API base URL from "m4.fritz.box" to "m4.local" for consistency and compatibility within the local network. This ensures better alignment with standard local domain naming practices.
2025-02-04 09:26:45 +01:00
Harald Hoyer d866a3facd feat(x1): add gtypist to default package list
Added gtypist to the list of default packages for the x1 system. This enhances typing practice options available to users.
2025-01-31 16:06:49 +01:00
Harald Hoyer d90d47072c feat: add typing practice tools to system packages
Include klavaro and tipp10 in the system package list. These additions provide tools for users to improve their typing skills.
2025-01-31 15:58:12 +01:00
Harald Hoyer 4ec65f9347 feat(x86_64-linux): add Bluetooth input configuration
Introduce a configuration to disable ClassicBondedOnly for Bluetooth input. This enhances flexibility for connected Bluetooth devices.
2025-01-31 12:36:30 +01:00
Harald Hoyer e11b4e9d61 feat(virtualisation): update libvirtd enablement logic
- Disable libvirtd explicitly in m4nix configuration.
- Use `lib.mkDefault` for libvirtd enablement in base services to allow overrides.
2025-01-21 15:35:23 +01:00
Harald Hoyer b3db658dd0 feat(aarch64-darwin): add virtualization tools to default.nix
- Added `libvirt`, `dnsmasq`, `virt-manager`, and `qemu` to the `pkgs` list.
- These tools enhance virtualization capabilities on aarch64-darwin systems.
2025-01-21 15:27:22 +01:00
Harald Hoyer 0daae09240 feat(x1): enable zram
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-01-20 13:48:44 +01:00
Harald Hoyer 971eeac080 feat(aarch64): add Node.js to default packages
- Included Node.js in the default package list for aarch64.
- Ensures Node.js availability out of the box for related workflows.
2025-01-20 12:29:05 +01:00
Harald Hoyer 40329dea86 feat(m4nix): add rdp
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-01-20 12:05:49 +01:00
Harald Hoyer 6440514723 chore(m4nix): remove cloudflare-warp from system configuration
Eliminated cloudflare-warp from system packages and systemd setup. This cleans up unused dependencies to streamline the configuration.
2025-01-16 16:33:34 +01:00
Harald Hoyer 904b1e8cfe feat(m4nix): enable spice
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-01-16 16:24:57 +01:00
Harald Hoyer d86db77250 ssh
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-01-16 04:38:17 +01:00
Harald Hoyer ccc0eda517 feat: github ssh support
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-01-15 13:19:49 +01:00
Harald Hoyer a7dce62fca fix(m4nix): disable tpm2.abrmd
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-01-13 08:29:47 +01:00
Harald Hoyer 1495580a03 fix(m4nix): disable tpm2
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-01-13 08:26:11 +01:00
Harald Hoyer 195a721d19 feat(aarch64): add initial configuration for NixOS on ARM
Introduced hardware and system configurations for the aarch64 NixOS system. Includes hardware setup, base system packages, and enabling key services such as Docker and Podman. This establishes the foundation for managing ARM-based systems.
2025-01-10 16:49:31 +01:00
Harald Hoyer f45a366528 refactor(sgx): rename internal host to openwebui
Updated ACME and nginx configurations to replace "internal.hoyer.world" with "openwebui.hoyer.world". This ensures correct routing and certificate management for the updated domain.
2025-01-08 15:18:42 +01:00
Harald Hoyer 1ddc13cda3 add imagemagick
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-12-14 09:09:02 +01:00
Harald Hoyer 96e09ef294 Enable Alacritty and iTerm2 in the configuration.
This commit adds Alacritty and iTerm2 to the system configuration for aarch64-darwin. These changes enhance terminal options, improving flexibility and usability for developers.
2024-12-13 09:20:29 +01:00
Harald Hoyer 47cf44ccfd refactor: improve formatting in Nextcloud and home config
Reformatted code blocks for better readability and consistency in Nextcloud and Darwin home configurations. No functional changes were made, ensuring existing behavior remains intact.
2024-12-13 09:19:09 +01:00
Harald Hoyer 3087b5360b feat(x1): add piper support and enable ratbagd service
Add the `piper` package to the build and enable the `ratbagd` service for managing gaming mice. This enhances device compatibility and configuration options.
2024-12-12 13:07:04 +01:00
Harald Hoyer b7ae1732f2 chore(x1): comment out kernel package override
Commented out the kernel package override to use the default kernel packages. This change might be necessary for testing or compatibility purposes.
2024-12-12 13:06:04 +01:00
Harald Hoyer 27d41ed91d feat(nextcloud): update service dependencies and apps
Include `config` in function parameters for better configurability. Removed unnecessary Nextcloud apps such as `files_texteditor`, `files_markdown`, `twofactor_backupcodes`, and `twofactor_totp` to streamline service setup.
2024-12-06 13:23:47 +01:00
Harald Hoyer aef4e331ae feat(nextcloud): add extra apps configuration
Enhance Nextcloud setup by enabling additional applications such as calendar, contacts, and notes. This change improves the service's functionality and usability by integrating essential productivity tools directly into the Nextcloud environment.
2024-12-06 13:20:39 +01:00
Harald Hoyer c9038f19e6 refactor: improve formatting in configuration files
Adjusted the parameter formatting in `acme.nix` and `nginx.nix` for better readability and consistency. The changes include standardizing the indentation and spacing for multiline declarations.
2024-12-06 13:20:31 +01:00
Harald Hoyer 1dde4c769e fix(network): add standard web ports to allowed TCP ports
Add ports 80 and 443 to the list of allowed TCP ports in the firewall configuration. This change ensures that HTTP and HTTPS traffic can pass through, which is essential for web services to operate correctly.
2024-12-06 10:46:36 +01:00
Harald Hoyer 95c68ccc7d fix(secrets): update sopsFile path for internetbs
Change the sopsFile path in acme.nix to point to the sgx directory instead of hetzner to ensure the correct configuration file is referenced. Added a new encrypted secrets file specific to the sgx directory to maintain security and confidentiality.
2024-12-06 09:50:56 +01:00
Harald Hoyer 818ae41e58 fix(nginx): correct proxyPass port conversion to string
Convert the port value to a string in nginx configuration to ensure correct proxyPass functionality. This change prevents potential runtime errors when using numeric port values directly in the proxyPass directive.
2024-12-06 09:45:52 +01:00
Harald Hoyer a4791bdb4f feat(nginx): add config argument to SGX NGINX module
Introduce the `config` argument to the SGX NGINX module to enhance configurability and integration. This change allows for more flexible usage of configurations that may rely on system-level settings. It prepares the NGINX module for more complex future modifications or integrations.
2024-12-06 09:40:11 +01:00
Harald Hoyer 26dd34a84d fix(openwebui): enable ssl for internal sgx
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-12-06 09:39:25 +01:00
Harald Hoyer c65f89edf8 fix(openwebui): update OLLAMA_API_BASE_URL configuration
Update the OLLAMA_API_BASE_URL to ensure proper resolution with the full domain name `m4.fritz.box`. This change ensures that the API endpoint is correctly accessible within the network.
2024-12-06 09:12:27 +01:00
Harald Hoyer d188778574 feat(sgx): enable firewall opening for OpenWebUI
Added the `openFirewall` option set to true in the SGX OpenWebUI configuration. This change ensures that firewall rules are adjusted to allow access to the configured port. This enhances accessibility and simplifies setup for users.
2024-12-06 09:10:25 +01:00
Harald Hoyer d870cdf086 fix: correct typo in environment variable block
Corrected the spelling of "environment" from "enviroment" in the OpenWebUI configuration file. This change ensures the configuration is correctly interpreted, avoiding potential issues with environment variable settings.
2024-12-06 08:57:38 +01:00
Harald Hoyer 29ca755e06 feat: add OpenWebUI service configuration
Introduce a new NixOS configuration for the OpenWebUI service, enabling it by default on port 8080. The setup includes environment settings to disable telemetry and authentication, and it adds the openwebui.nix to the system modules.
2024-12-06 08:56:37 +01:00
Harald Hoyer b0f42bce29 fix(systemd): correct path for nixos-upgrade service
Change the working directory from `/root` to `/root/nixcfg` in the `nixos-upgrade` systemd service to ensure the correct configuration repository is used. This update prevents potential errors due to fetching and resetting in the wrong directory.
2024-11-29 17:07:52 +01:00
Harald Hoyer 1e5ceb6c73 feat(systemd): add git to nixos-upgrade service path
Include git in the `PATH` for the `nixos-upgrade` systemd service. This change ensures that the service can execute git commands during its operations. The path addition resolves issues related to unavailable git commands.
2024-11-29 17:06:07 +01:00