Commit graph

270 commits

Author SHA1 Message Date
Harald Hoyer
fcb5e83a63 feat(nix): add obsidian and sync folders to sgx fileserver configuration
- Added "obsidian" folder with path "~/obsidian" and device list
- Added "sync" folder with path "~/sync" and device list
- Both folders configured with same device list: sgx, S25, x1, m4
- Maintains consistent folder configuration pattern in fileserver setup
2025-12-03 17:01:38 +01:00
04d40c5bbd fix(x1): Use latest kernel packages for x1 system
Switched to using the latest kernel packages for the x1 system by removing the comment from the kernelPackages line and setting it to lib.mkOverride 0 pkgs.linuxPackages_latest. This ensures the system uses the most recent kernel modules and features while maintaining consistency with other configuration changes. The change aligns with recent system updates and package management improvements.
2025-12-03 16:33:40 +01:00
b9d5e775d2 fix(nixos): open port 22000 for rustdesk and add freerdp
- Added TCP port 22000 to networking.firewall.allowedTCPPorts for rustdesk server access
- Included freerdp package in GUI services module
- Maintains consistency with recent configuration refactorings and feature additions
2025-12-03 15:54:35 +01:00
Harald Hoyer
f5be97a2f4 • feat(nix): enable gnome-remote-desktop and xrdp services
• fix(nix): replace ollama with obsidian in system packages
• feat(nix): add cheese, freerdp, and rustdesk-flutter to GUI modules
• refactor(nix): reorganize gnome extensions and services configuration
• chore(nix): configure xrdp to use mkDefault and add firewall rules for RDP
• feat(nix): enable gnome-remote-desktop with proper port configuration
2025-12-03 15:35:05 +01:00
Harald Hoyer
71304185bd fix(nix): add DNS nameservers for headscale
- Added global DNS nameservers configuration for headscale
- Included Cloudflare DNS servers (1.1.1.1, 1.0.0.1) and IPv6 addresses
- Added local DNS server (192.168.178.254) for internal resolution
2025-12-03 10:49:18 +01:00
Harald Hoyer
05eceda8ca feat(nix): configure gitea-runner to depend on nginx service
- Added systemd service dependencies for gitea-runner-default
  - Ensured nginx.service is required and started before gitea-runner-default
  - Maintains proper service startup order for forgejo deployment
2025-12-03 10:48:56 +01:00
fc4b2a3e30 fix(nixos): rename gdm.autoSuspend key for display manager
- Corrected `services.xserver.displayManager.gdm.autoSuspend` to `services.displayManager.gdm.autoSuspend` for proper configuration.
-
2025-12-03 10:04:41 +01:00
0ccdd23cba fix(nixos): correct typo in Postfix configuration
- Renamed `setting.main` to `settings.main` in the Postfix module for consistency with configuration standards.
- Ensured proper functionality of service by aligning with expected key structure.
2025-12-03 10:03:29 +01:00
4386027761 refactor(nixos): standardize configuration structures
- Renamed and reorganized configuration keys for consistency (`settings` usage).
- Updated Postfix, systemd, and Syncthing configurations to adhere to the standardized format.
- Improved maintainability and readability of NixOS configurations.
2025-12-03 10:02:15 +01:00
9f792774a5 feat(nix): enable GNOME remote desktop and update flake lock
- Enabled `services.gnome.gnome-remote-desktop` in the `x1` configuration.
- Removed an unused `lib` parameter in the `forgejo.nix` module.
- Updated the `home-manager` source in the `flake.lock` file with the latest revision and hash.
2025-12-03 09:44:16 +01:00
62f1eb0a2d Update forgejo-runner package reference
Switched from `forgejo-actions-runner` to `forgejo-runner` package for the gitea actions runner instance. This aligns with the updated package naming convention in the system configuration. The change ensures proper integration with the forgejo ecosystem and maintains consistency with the project's package structure.
2025-12-03 09:43:59 +01:00
884ceee9fd fix(mx): set mailserver stateVersion 2025-12-03 07:08:57 +01:00
5444962eda fix(mx): set mailserver stateVersion 2025-12-03 07:02:18 +01:00
5d7e14e9de nixos-25.11 2025-12-02 19:37:14 +01:00
549b3633d1 nixos-25.11 2025-12-02 18:58:52 +01:00
Harald Hoyer
18871b8617 chore(nix): enable WebSocket proxy in nginx config
- Added `proxyWebsockets = true` to improve WebSocket support.
- Ensures seamless communication for services relying on WebSocket connections.
2025-11-27 16:44:37 +01:00
Harald Hoyer
0fa35124db chore(nix): add home.hoyer.world to ACME extra domains
- Updated `acme.nix` to include `home.hoyer.world` in `extraDomainNames`.
- Ensures ACME generates certificates for the new domain.
2025-11-27 15:42:26 +01:00
Harald Hoyer
6cb03a2c8f chore(nix): add reverse proxy for home.hoyer.world
- Configured reverse proxy in `nginx.nix` for `home.hoyer.world`.
- Disabled ACME and redirected to `internal.hoyer.world` with forced SSL.
2025-11-27 15:30:54 +01:00
Harald Hoyer
40e677ea02 chore(nix): add TCP port 10400 to Wyoming firewall
- Updated `wyoming.nix` to allow traffic on TCP port `10400`.
- Ensures compatibility with services requiring this port.
2025-11-27 15:24:38 +01:00
Harald Hoyer
eb6136a0e0 chore(nix): simplify OpenWakeWord server config
- Removed nesting for `openwakeword` in `wyoming.nix` configuration.
- Preserved service functionality with TCP port `10400` and preloaded models.
2025-11-27 15:22:42 +01:00
Harald Hoyer
45d051924b chore(nix): add OpenWakeWord service to Wyoming config
- Enabled `openwakeword` service in `wyoming.nix` with TCP port `10400`.
- Preloaded model support added for voice commands like "hey_jarvis".
2025-11-27 15:21:39 +01:00
Harald Hoyer
4c641910fd chore(nix): add Wyoming service configuration
- Introduced a new `wyoming.nix` file with service definitions for `faster-whisper` and `piper`.
- Enabled TCP ports `10200` and `10300` in the firewall for service communication.
- Updated SGX configuration to include `wyoming.nix` in system imports.
2025-11-27 15:04:53 +01:00
Harald Hoyer
66022d19c2 chore(nix): enable libvirtd and update user groups
- Enabled `libvirtd` in virtualization settings to allow libvirt usage.
- Added `libvirtd` to `user.extraGroups` for better permissions and management.
2025-11-27 10:37:46 +01:00
Harald Hoyer
7883fe4221 chore(nix): update fileserver configuration
- Reformatted `netatalk` service dependencies for readability.
- Updated `hosts allow` setting to include `100.64.0.` for enhanced network access control.
2025-11-24 16:01:04 +01:00
Harald Hoyer
bf82f7afa0 chore(nix): enable RustDesk and update configurations
- Uncommented `rustdesk.nix` in MX system and added `rustdesk-flutter` to GUI services.
- Disabled `services.rustdesk-server.signal` on X1 system to align with updated settings.
2025-11-24 14:59:39 +01:00
Harald Hoyer
ff89519ba5 chore(nix): enable RustDesk server on Darwin and X1
- Added `services.rustdesk-server.enable = true` to aarch64-darwin and x86_64-linux X1 configurations.
- Provides remote desktop functionality through RustDesk server.
2025-11-24 14:36:21 +01:00
4e67949e03 fix: headscale web proxy 2025-11-24 14:07:09 +01:00
caad1ddba9 Revert "chore(nix): enhance Nginx proxy settings for Headscale"
This reverts commit 2d0d03f845.
2025-11-24 13:57:00 +01:00
Harald Hoyer
2d0d03f845 chore(nix): enhance Nginx proxy settings for Headscale
- Added extra HTTP headers and security configurations in the Nginx proxy for Headscale.
- Improves websocket handling, security headers, and HTTPS redirection.
2025-11-24 13:54:52 +01:00
Harald Hoyer
8d6db08029 chore(nix): add OIDC configuration to Headscale
- Introduced OIDC settings in Headscale, including allowed domains, client ID, client secret path, and issuer.
- Enables support for OpenID Connect authentication.
2025-11-24 11:22:21 +01:00
Harald Hoyer
ef4ac5e228 chore(nix): fix property name in Headscale settings
- Corrected `baseDomain` to `base_domain` in the Headscale DNS settings.
- Aligns property naming with expected schema for proper configuration.
2025-11-21 16:24:28 +01:00
Harald Hoyer
2a810ce759 chore(nix): remove enableACME from Headscale Nginx config
- Dropped `enableACME` as it is redundant when `useACMEHost` is defined.
- Simplifies Nginx virtual host configuration for Headscale.
2025-11-21 16:23:53 +01:00
Harald Hoyer
129630c163 chore(nix): refactor Headscale service configuration
- Reorganized `settings` block to simplify and correct nesting.
- Updated function arguments to include variadic parameters for extensibility.
2025-11-21 16:22:56 +01:00
Harald Hoyer
62201776f3 chore(nix): add Headscale service to MX configuration
- Included `headscale.nix` in the MX system configuration for VPN management.
- Added Nginx and ACME configuration to route traffic securely to Headscale.
- Ensures Headscale is enabled with required settings and packaged in the system.
2025-11-21 16:15:51 +01:00
Harald Hoyer
db10d3d2c8 chore(nix): enable Tailscale on nixtee1 system
- Added `services.tailscale.enable = true` to the nixtee1 configuration for VPN support.
- Enhances secure connectivity and simplifies network
2025-11-21 15:11:56 +01:00
Harald Hoyer
36f3ebfcb3 chore(nix): enable Tailscale on SGX, MX, and X1 systems
- Added `services.tailscale.enable = true` to the configurations of SGX, MX, and X1 systems for VPN support.
- Improves secure connectivity and simplifies network management across these systems.
2025-11-21 14:54:07 +01:00
Harald Hoyer
1f5d2c1ce5 chore(nix): add OIDC app and webfinger redirect for Nextcloud
- Added OIDC app to Nextcloud with specific URL, SHA256, and license configuration for authentication support.
- Configured Nginx to redirect `.well-known/webfinger` to Nextcloud for improved compatibility.
- Updated Nextcloud settings to include `overwrite.cli.url` for proper URL handling.
2025-11-21 14:52:00 +01:00
Harald Hoyer
325f3bafbe chore(nix): update Nextcloud to version 32
- Bumped `services.nextcloud.package` from `nextcloud31` to `nextcloud32`.
- Ensures compatibility with updated Nextcloud features and improvements.
2025-11-21 13:08:25 +01:00
Harald Hoyer
8203c909ad chore(nix): update CPU governor to performance
- Changed `powerManagement.cpuFreqGovernor` from `ondemand` to `performance` for enhanced CPU performance.
- Aligns system configuration with performance optimization goals.
2025-11-14 10:10:29 +01:00
43f72bf1ad feat(security): disable TPM2 support in nixtee1
- Disabled `security.tpm2.enable` and `security.tpm2.abrmd.enable` options.
- Ensures TPM2-related services are not active on the system for this configuration.
2025-11-14 07:44:38 +01:00
5b0cab98d5 feat(systems): enable email notifications on failure
- Added `emailOnFailure.enable` option to metacfg with a default of `false`.
- Enabled email notifications on failure for SGX and MX systems.
- Enhanced `systemd-email-notify` module to support the new configuration.
2025-11-14 07:42:28 +01:00
Harald Hoyer
babf38d817 chore(nix): switch bootloader to GRUB
- Disabled Systemd-boot and enabled GRUB as the bootloader with OS probing.
- Configured GRUB to use `/dev/vda` as the target installation device.
2025-11-13 16:16:37 +01:00
Harald Hoyer
811457161a chore(nix): refactor SGX configuration for nixtee1
- Removed SGX-specific settings including `aesmd_dcap`, `sgx_default_qcnl.conf`, and `security.tpm2` configurations.
- Updated `system.stateVersion` and switched kernel modules to `kvm-amd`.
- Adjusted disk UUIDs and removed unused `/boot` filesystem definition.
2025-11-13 16:01:58 +01:00
440cf540eb feat(sgx): adjust tmpfs usage for better configuration
- Set `boot.tmp.useTmpfs` to `false` in `x86_64-linux/sgx/default.nix`.
- Applied `lib.mkDefault` to `boot.tmp.useTmpfs` in `services/base/default.nix` for consistency.
2025-09-28 08:19:45 +02:00
3b0809697d feat(sgx): add claude-code 2025-09-22 16:56:38 +02:00
76ead2d77c feat(sgx): enable nix-ld 2025-09-19 10:24:09 +02:00
Harald Hoyer
8d03b05ffb feat(sgx): add cratedocs-mcp service and update flakes
- Enabled `services.cratedocs-mcp` with firewall access in the SGX module for enhanced functionality.
- Updated multiple Flake lockfile entries to the latest revisions, ensuring access to updated upstream changes.
2025-09-17 15:57:18 +02:00
Harald Hoyer
15e61b339c refactor(x1): remove unused IPU6 module
- Deleted `ipu.nix` and its reference in `default.nix` under `x1` systems.
- Simplifies configuration by removing unused and commented-out code.
2025-09-11 14:35:38 +02:00
Harald Hoyer
dc3a536709 feat(sgx): enable GUI in SGX module
- Changed `gui.enable` to `true` in the SGX default configuration.
- Allows GUI support within the SGX environment for improved usability.
2025-09-11 14:31:40 +02:00
Harald Hoyer
0fb0cfae93 refactor(gnome): relocate remote desktop configuration
- Moved GNOME remote desktop settings from `x1` module to GUI services module.
- Centralizes related configurations for better maintainability.
2025-09-11 14:31:13 +02:00