Commit graph

95 commits

Author SHA1 Message Date
Harald Hoyer c894294ce3 feat(coturn): introduce coturn configuration
Add coturn service definition for x86_64-linux systems with static-auth-secret and additional settings for Nextcloud integration. Includes secrets management via `sops` and secure TLS configurations.
2024-09-17 10:14:33 +02:00
Harald Hoyer 85a03f633a feat(x86_64-linux): add user to dialout group
Updated configurations for x1 and t15 to include 'dialout' in user.extraGroups. This change allows users to access serial devices.
2024-08-28 14:42:09 +02:00
Harald Hoyer 15963f0554 feat: enable discard support for LUKS devices
Updated LUKS device configurations to include allowDiscards option. This allows the system to send discard/TRIM commands to LUKS devices for better performance.
2024-08-26 10:14:18 +02:00
Harald Hoyer 4c100acb27 fix: remove extraneous newlines in hardware-configuration.nix
Removed unnecessary blank lines to improve readability and maintain consistency with the formatting guidelines. This change does not impact functionality but cleans up the code.
2024-08-26 10:14:03 +02:00
Harald Hoyer 0cae58b515 feat: use latest kernel packages
Added configuration to use the latest kernel packages for boot. This change ensures the system benefits from the most recent updates and security patches.
2024-08-08 09:59:42 +02:00
Harald Hoyer 7775fd266d fix: correct syntax error in resolved extraConfig
The extraConfig for resolved had an incorrect semicolon causing configuration issues. This change removes the semicolon to ensure proper configuration loading.
2024-08-06 09:07:40 +02:00
Harald Hoyer 31323f340f refactor: streamline kernel boot parameters
Remove insecure and redundant kernel boot options. This enhancement improves system security by defaulting to standard mitigations and settings.
2024-08-03 16:15:21 +02:00
Harald Hoyer 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
Harald Hoyer 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
Harald Hoyer 5bbd996207 fix: correct xserver keyboard variant configuration
Changed the keyboard variant configuration in xserver to include a trailing comma. This ensures the variant setting is correctly parsed by the xserver.
2024-08-01 11:18:00 +02:00
Harald Hoyer d8ab5afa22 fix(hardware-config): correct closing bracket indentation
Corrected the indentation of the closing bracket in the hardware configuration. This improves readability and consistency in the code format.
2024-07-25 13:53:52 +02:00
Harald Hoyer 20f610b628 feat: add extraConfig for systemd-resolved
Enabled ResolveUnicastSingleLabel option in systemd-resolved configuration. This ensures unicast single-label domain names can be resolved. Added in the extraConfig section.
2024-07-25 13:53:45 +02:00
Harald Hoyer 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
Harald Hoyer 5615b246b6 feat: Modify keyboard layout in x86_64-linux hardware configuration
The configuration update for the x86_64-linux t15 hardware adds a US layout variant to the existing German keyboard configuration. This change will allow switching between US and German keyboard layouts as per user requirements.
2024-07-19 11:45:24 +02:00
Harald Hoyer fc478e4639 refactor: Update xserver keymap configuration in hardware configuration file
This commit updates the hardware configuration file for the x86_64-linux system. Specifically, it modifies the xserver keymap settings, ensuring proper keymap configuration for 'de' layout with 'nodeadkeys' variant in the x86_64-linux system.
2024-07-18 10:15:45 +02:00
Harald Hoyer 96e66ebad4 feat: Add several boot options in hardware config
Multiple boot options have been added in the hardware-configuration for the x86_64-linux system. This includes unsafe secrets mitigation options, such as 'noibrs', 'noibpb', 'nopti', etc., to potentially enhance system performance.
2024-07-18 10:06:41 +02:00
Harald Hoyer 45433d0622 feat: Enable home printer setup
Created a new module for home printer setup and enabled it on x86_64-linux systems. The module configures printing drivers and ensures that printers are set up properly. In addition, moved specific printer configurations into the newly created homeprinter module.
2024-07-11 15:06:41 +02:00
Harald Hoyer 55d2bdc640 feat: add printer configurations and services
This commit adds configurations for two printers (Brother DCP-L2530DW and Canon MG6300 series) in the nix file. It also enables printing services and resolves DNSSEC degradation. This ensures a more seamless and secure printing experience.
2024-07-11 13:31:46 +02:00
Harald Hoyer b2b0a9fc7d fix: correct indentation in mailserver configuration
The indentation in the mailserver.nix file was fixed to follow proper syntax guidelines. This was a minor change, but it improves code readability and adherence to stylistic standards.
2024-07-11 12:14:36 +02:00
Harald Hoyer 10fbd22629 feat: Remove atticd service from sgx-nixos system
The 'atticd' service has been deleted from the sgx-nixos configuration. Additionally, the reference to 'atticd.nix' has been removed from the 'default.nix' imports. This was done to help streamline the system configuration.
2024-07-05 16:14:52 +02:00
Harald Hoyer d5f688f7e9 feat: Add 'wheel' to default user extraGroups
The user's extraGroups in the NixOS module now contains 'wheel' by default. This change provides the user with more privileges. Consequently, 'wheel' has been removed from the SGX-Attic's 'user.extraGroups' as it became redundant.
2024-07-05 16:13:48 +02:00
Harald Hoyer b845b617b0 feat: remove specific TCP port from firewall allowed list
This commit removes a predefined TCP port (8080) from the allowed list in the networking firewall. This choice will increase the security features by avoiding any unnecessary open ports in the firewall configuration.
2024-07-05 15:48:19 +02:00
Harald Hoyer 100a721474 feat: Comment out atticd.nix import in sgx-nixos
The import statement for the atticd.nix file has been commented out in the default.nix file under the sgx-nixos system. This reflects changes in dependencies or system configurations.
2024-07-05 15:33:31 +02:00
Harald Hoyer 2c4c3762a5 feat: Add "wheel" to user.extraGroups in SGX config
This commit adds "wheel" to the user.extraGroups in the default SGX configuration file for x86_64-linux system. This is a necessary update to ensure users
2024-07-05 15:26:01 +02:00
Harald Hoyer a91845f167 feat: Update hardware configuration and extract disk setup
This commit refactors the hardware configuration in the SGX attic. A new file named `disko.nix` has been added which houses the disk setup previously located on `hardware-configuration.nix`. Additionally, some parameters in `default.nix` have been updated and unneeded configuration settings have been removed.
2024-07-05 14:37:40 +02:00
Harald Hoyer 2710b5eae6 feat: Add new email alias to mailserver configuration
This commit adds a new email alias to the mailserver configuration. This new addition will allow emails sent to this address to be properly routed and received.
2024-07-05 13:33:35 +02:00
Harald Hoyer 31073cd9d5 feat: Add new email alias to mailserver configuration
This commit adds a new email alias to the mailserver configuration. This new addition will allow emails sent to this address to be properly routed and received.
2024-07-05 10:19:35 +02:00
Harald Hoyer 6ea458a7ee feat: Update email aliases in mailserver config
This commit updates the list of email aliases for various users in the mailserver configuration. It reorders existing aliases and introduces new ones, extending their visibility in different domains. This offers aliases under the hoyer.social and hoyer.world domains, enhancing flexibility for users.
2024-07-05 10:15:02 +02:00
Harald Hoyer 16b99018c9 feat: Update certificate scheme in mailserver
This commit updates the certificate scheme configuration on the mailserver. The `certificateScheme` and `acmeCertificateName` have been added, and an unnecessary certificate reference in the `acme.nix` file has been deleted.
2024-07-05 09:54:35 +02:00
Harald Hoyer 82d9b3b6b2 feat: Remove dnsProvider from acme.nix
This commit removes the dnsProvider attribute ("internetbs") from four entries in the acme.nix file. These changes aim to reduce redundancy and maintain simplicity in the script.
2024-07-05 08:41:11 +02:00
Harald Hoyer fd150b5133 feat: Remove dnsProvider in acme.nix
This commit removes the dnsProvider property from the "varlink.org" configuration within the acme.nix file. This step contributes to system simplification and potential adaptability improvements.
2024-07-05 08:29:32 +02:00
Harald Hoyer 2ff75f77be feat: Add new domain to acme.nix
Added "herward-hoyer.de" as a new domain in the acme.nix file. Set "internetbs" as the DNS provider and added "*.herward-hoyer.de" to the extra domain names.
2024-07-04 16:44:41 +02:00
Harald Hoyer 11f5887eeb feat: Update default DNS provider and domain configurations
The DNS provider has been changed from "internetbs" to "cloudflare". Moreover, configurations for multiple domains have been updated and expanded, including "mx.surfsite.org", "surfsite.org", "hartwin-hoyer.de", "varlink.org", "hoyer.xyz", and others.
2024-07-04 16:43:17 +02:00
Harald Hoyer 17dc0aa1cb feat(acme.nix): add Cloudflare as DNS provider
A new DNS provider, Cloudflare, has been added to the configuration for domain "harald-hoyer.de" in the acme.nix file. This change will affect the handling of DNS requests for this domain.
2024-07-04 16:35:52 +02:00
Harald Hoyer b273548370 feat: Add new domain in acme.nix
The commit includes the addition of the "meike-hoyer.de" domain to the acme.nix file, using "cloudflare" as the DNS provider. This update enhances the system's domain coverage.
2024-07-04 15:24:38 +02:00
Harald Hoyer 4bfa600291 feat: Add 'meike-hoyer.de' to mail server configuration 2024-07-04 13:40:32 +02:00
Harald Hoyer f1b9120991 feat: Remove myprivacy.tools from mailserver configuration
This update removes the myprivacy.tools domain from the configuration of the mailserver. As a result, no incoming or outgoing messages will be processed for this domain. Also, all email addresses related to myprivacy.tools were also removed.
2024-07-01 16:44:53 +02:00
Harald Hoyer a1a951bc9e feat: Extend garbage collection retention in atticd
This commit changes the default retention period for garbage collection in the attic daemon setting from 30 days to 3 months. This will allow the system to maintain data for a longer period before cleaning.
2024-06-28 13:53:51 +02:00
Harald Hoyer 31dfb73435 feat: Add garbage collection interval setting in atticd.nix
This commit introduces a new parameter for setting the garbage collection interval in the atticd.nix file. The garbage collection interval is set to run every 30 days, helping to manage unnecessary data and improve system performance.
2024-06-28 13:26:21 +02:00
Harald Hoyer 858507bb06 feat: add API endpoint to atticd settings
The atticd settings in systems/x86_64-linux/sgx-nixos have been updated to include an API endpoint. The primary purpose of this change is to ensure that atticd infrastructure can successfully connect to the new endpoint at https://attic.teepot.org.
2024-06-28 13:22:29 +02:00
Harald Hoyer 5a362acdd3 feat: Add attic-client to x86_64-linux system
The attic-client has been added to the packages for the x86_64-linux system. This change enables interaction with the Attic distributed storage system, expanding the capabilities of this system setting.
2024-06-28 13:10:00 +02:00
Harald Hoyer 97e7a73c94 feat: Add attic-client to x86_64-linux system
The attic-client has been added to the packages for the x86_64-linux system. This change enables interaction with the Attic distributed storage system, expanding the capabilities of this system setting.
2024-06-28 12:38:53 +02:00
Harald Hoyer 481e8ca6cf feat: Update firewall settings in SGX-NixOS
This commit allows TCP traffic on port 8080 and permits ICMP echo requests for ping command in SGX-NixOS. Moreover, the necessary code adjustments have been made in the default.nix file.
2024-06-28 12:17:40 +02:00
Harald Hoyer f20e87cd50 feat: Add attic-client to system packages in atticd.nix
This commit includes the addition of attic-client to environment.systemPackages in atticd.nix for x86_64-linux systems. The
2024-06-28 11:29:07 +02:00
Harald Hoyer 3c58dfb400 feat: Add atticd service to sgx-nixos system
This commit includes the atticd service to the sgx-nixos system. The `atticd.nix` file has been added with default configuration and the attic service has been included in imports in `default.nix`. Modifications were made in `flake.nix` and `flake.lock` to integrate attic dependencies.
2024-06-28 11:01:44 +02:00
Harald Hoyer 2629021f33 feat: Add k9s to x86_64-linux system packages
A new package, k9s, has been added to the default packages for x86_64-linux system. This effort is to enhance the overall system functionality and user experience.
2024-06-28 09:17:11 +02:00
Harald Hoyer 7a72ecaea9 feat: Comment out goaccess in mx/default.nix
The goaccess.nix import has been commented out in the mx/default.nix file. This change signifies that the goaccess feature is currently not being utilized or is under maintenance.
2024-06-27 16:18:37 +02:00
Harald Hoyer b437541252 feat: Update nix runner docker image URL
This commit updates the docker image URL for the nix runner in the forgejo.nix configuration. The new URL points to the image hosted at git.hoyer.xyz/harald/nix-runner:latest. This change is
2024-06-27 15:12:12 +02:00
Harald Hoyer 3eba20c0dc feat: Increase nginx clientMaxBodySize limit
Increased the clientMaxBodySize in nginx configuration from 100M to 1000M. This change allows larger client request bodies,
2024-06-27 14:53:01 +02:00
Harald Hoyer 0a0ae0db8c feat: increase nginx client max body size
This change updates the nginx configuration in the x86_64-linux system. It adds a new parameter, clientMaxBodySize, which is set to allow larger payloads of up to 100M, improving our capacity to handle bigger client requests.
2024-06-27 14:51:12 +02:00