Commit graph

28 commits

Author SHA1 Message Date
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
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
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
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
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
26dd34a84d fix(openwebui): enable ssl for internal sgx
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-12-06 09:39:25 +01:00
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
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
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
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
3953362456 refactor: update configurations and fix inconsistent naming
Refactor various NixOS and home-manager configurations to improve consistency and readability. Correct naming inconsistencies, ensure proper indentation, and restructure Samba settings for better clarity and maintainability.
2024-11-28 10:01:53 +01:00
900f95169f nix fmt
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-11-19 10:31:29 +01:00
36cd114e72 feat(sgx): enable IPv4 and IPv6 support for Avahi
Updated Avahi service configuration to support both IPv4 and IPv6 addressing. This change includes enabling nssmdns4 and nssmdns6, along with setting ipv4 and ipv6 to true.
2024-10-16 14:43:36 +02:00
cd69324e48 feat: add Syncthing ports configuration
Added TCP and UDP ports for Syncthing to the firewall configuration. Configured Syncthing GUI to listen on all addresses at port 8384.
2024-08-03 15:58:30 +02:00
7b7cebb658 feat: enable Syncthing service on fileserver
Enabled the Syncthing service in the fileserver configuration. Set the user to 'harald' and specified directories for data and configuration.

Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-08-03 15:53:37 +02:00
d44ef254fa feat: update allowed TCP port in sgx network configuration
This commit updates the allowed TCP port for networking in the SGX configuration file. Instead of hardcoding the port number, it now uses the port specified in the netatalk configuration. This change enables more flexibility in port assignment and reduces potential conflicts.
2024-07-19 11:45:38 +02:00
0a57bf37ef feat: 24.05 for everyone
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-06-11 10:15:15 +02:00
9c50d1379a feat: all besides mx to 24.05 2024-06-03 11:41:14 +02:00
bd2e13a215 feat: Add lidSwitch configuration to ignore in logind service
This commit includes a new lid switch configuration for the logind service within the SGX default configuration file. The lid switch has been set to "ignore", enhancing control over system behaviors upon lid actions.
2024-04-12 08:38:02 +02:00
88dd896bc2 feat: Remove hd-idle systemd service in hardware configuration
The section specifying the systemd services for hd-idle has been removed in the hardware configuration file.
2024-04-11 16:28:20 +02:00
f9d045b883 Update SGX hardware configuration
This commit updates the hardware configuration for SGX systems. We have configured the available kernel modules list to include TPM-related modules. Also, unnecessary TPM2 security settings have been removed to clean up the configuration file.
2024-04-10 22:18:56 +02:00
e9034a7711 sgx: Disable Docker and enable Podman Docker compatibility
Docker has been disabled, with the Podman Docker compatibility feature being enabled instead to ensure system virtualization.
2024-04-10 22:13:19 +02:00
d5287f242e Enable TPM2 security in x86_64-linux SGX hardware configuration
The commit turns on the TPM2 security feature and its associated Access Broker and Resource Manager daemon (abrmd) in the hardware configuration for the x86_64-linux SGX system. This action, represented by changing the respective entries from false to true, enhances the security of this system configuration.
2024-04-10 22:10:34 +02:00
4066b0cd80 sgx: unsgx and prevent sleep on lid close
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-04-10 21:46:05 +02:00
7d0cf0ac60 sgx: set disks idle
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-04-10 21:45:22 +02:00
30e7082344 sgx
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-04-10 17:43:39 +02:00
946f44ee51 sgx: don't use pccs
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-03-21 21:23:02 +01:00
f4e2368893 A new start 2024-03-21 15:00:36 +01:00